[Webkit-unassigned] [Bug 5566] ALT attribute value sometimes not displayed when image is missing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 27 08:40:51 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=5566


Ryan Chapel <chaprtc at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chaprtc at gmail.com




--- Comment #69 from Ryan Chapel <chaprtc at gmail.com>  2012-04-27 08:40:49 PST ---
It's crazy that nothing's been done on this for almost 7 years. Please, can something, ANYTHING be done here? This is the first browser bug i've actually spent a little time to read up on, and it's more than a little disconcerting that we can't push out anything because of the lack of agreement. At the least can't we mirror a browser that handles this better (at all)?

I've got an idea of how it should be handled if you'd rather:

Image example: <img src="blah.png" alt="this is alt" title="this is title" />

 - If everything's all good, show the image, and on hover show "this is title". Easy.
 - If images are disabled or broken for any reason, don't show the image (obviously), and in it's place show inline text that says "this is alt" that uses the styling of whatever container it's in. Also, when that is hovered over, show "this is title".

Also, the title and alt attributes shouldn't have anything to do with one another. If title isn't there, nothing happens when the image (or alt text if image is gone) is hovered. And same goes for alt text. If there's no alt text but there is title text, nothing shows when the image is missing, but if you hover over it, you'll see the title text. If that seems weird, just note that it's up to the web developer to make sure that stuff works well, and you probably shouldn't have just a title without an alt value.

Can we all agree that 99% of the time when images are disabled or broken the entire site looks a little wonky or off? Good, because now we don't have to worry about those edge cases where the missing image is a tiny icon or thumbnail and the alt text is equivalent to the first half of "War and Peace". :P

TL;DR - Doing something is better than doing nothing.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list