Bug 153273
Summary: | Show alternative text while images are loading | ||
---|---|---|---|
Product: | WebKit | Reporter: | hallo |
Component: | Images | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | Safari 9 | ||
Hardware: | All | ||
OS: | All |
hallo
On Firefox the alternative text is shown while the images are not loaded. Especially on slow connections it would be very useful to see the alternative text. It may also improve accessibilty of many sites, as authors would see the alternative text on load and would spend more time providing useful text.
Steps to reproduce the problem:
1. Open http://jsbin.com/nomoce/edit?html,css,output
2. Wait for the image to load
3. Alternative text is not shown
What is the expected behavior?
Alternative text is shown while the image is loading.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
The downside is of course that there will be more flashiness while loading the website.
hallo
Hi Alexey,
why would there be more flashiness while loading? Images already cause layout when loading, eg: http://output.jsbin.com/xizehe/2 - Note the image has a with and height attribute but by setting img {max-width: 100%; height: auto;} the reserved space for an image before fully loaded is always the same.