If an article forum ist set to show a preview of the articles, the preview image is being referenced via inline CSS
This seems bad for various reasons:
As this image clearly isn't used as a design/GUI element but content, it should be an
background-image
.This seems bad for various reasons:
- Lazy loading via
loading="lazy"
cannot be used, insteand browsers seem to load all images immediately
Especially if there are many articles on one page that do contain large images, this can sigificantly affect page loading time - Google doesn't seem to treat images used for styling as "first class" content
- Inline CSS does make it hard to use restrictive CSP
As this image clearly isn't used as a design/GUI element but content, it should be an
<img>
Last edited:
Upvote
4