-
Notifications
You must be signed in to change notification settings - Fork 869
Graceful degradation of lazy load #9281
Copy link
Copy link
Closed
Labels
BugWhen a feature is broken and / or not performing as intendedWhen a feature is broken and / or not performing as intended[Feature] Lazy Images[Pri] Normal
Description
Steps to reproduce the issue
- Disable JavaScript in the browser
- Load https://www.behappyinlife.com/
What I expected
The actual image loaded immediately and looking the same way as when JavaScript is enabled.
What happened instead
The placeholder image appears as a square, pushing the real image down or left.
Suggestions
- Use better styling for displaying images when JS is turned off
- Check for JS in the HEAD and add a class to HTML (or BODY) when available, e.g. js-on
- Add styling for .js-on to override the no-JS defaults
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugWhen a feature is broken and / or not performing as intendedWhen a feature is broken and / or not performing as intended[Feature] Lazy Images[Pri] Normal