Bug 170069 - Rendering ALT text for images as inline and expanding the image placeholder dimensions as required by the alt text
Summary: Rendering ALT text for images as inline and expanding the image placeholder d...
Status: RESOLVED DUPLICATE of bug 158249
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL: http://www.gtalbot.org/BrowserBugsSec...
Keywords: accessibility, reproducible, testcase
Depends on:
Blocks:
 
Reported: 2008-08-30 08:20 UTC by Gérard Talbot (no longer involved)
Modified: 2011-12-31 17:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gérard Talbot (no longer involved) 2008-08-30 08:20:07 UTC
When an image is unavailable - for whatever reasons -, then its alt text should be rendered inline and use as much space as it requires: the user would certainly want the image placeholder to expand as required to render the alternate text.

"The reader of the page frankly couldn't care less if the author has made a mistake and the page is not completely available. The reader wants the information. So if an image is not available, the page should adapt. This is what alt text is designed to do."
Ian "Hixie" Hickson

Bug entry:
http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/#bug69
http://www.gtalbot.org/BrowserBugsSection/MSIE8Bugs/#bug35

Testcase:
http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/ExpandingAltTextForImages.html

Reference:
Alternate text for images: why image dimensions should NOT be preserved when an image is not shown (11 convincing arguments presented by Ian "Hixie" Hickson)
http://www.hixie.ch/advocacy/alttext

Regards, Gérard
Comment 1 Gérard Talbot (no longer involved) 2009-10-25 02:06:42 UTC
"
4. For an object (e.g., an image) with an author-specified geometry that the user agent does not render, allow the user to configure how the conditional content should be rendered. For example, within the specified geometry, or by ignoring the specified geometry altogether.
"
Techniques for User Agent Accessibility Guidelines 1.0
2.3 Render conditional content (P1)
Example techniques

This is exactly what this bug report is about: to ignore placeholder dimensions for image and render alt attribute value as inline.

There is also a setting in Internet Explorer 6, Internet Explorer 7 and Internet Explorer 8 which was intended (and was supposed) to do this:

Tools/Internet Options.../Advanced tab/Accessibility section/Always expand ALT text for images

regards, Gérard
Comment 2 Gérard Talbot (no longer involved) 2009-10-25 12:08:21 UTC
Duplicate of bug 48458 ?

---------

Firefox's implementation:

browser.display.force_inline_alttext 	 

Boolean 	 

True: Force broken images' alt text to be displayed inline

False (default): Show an icon if rendering in Quirks Mode and there is no alt text, or if rendering in Quirks Mode and the image has a size specified.

http://kb.mozillazine.org/About:config_entries#Browser.

What that also means is that, by default, the alt text will be displayed inline whenever Firefox is triggered in standards compliant rendering mode.

regards, Gérard
Comment 3 Gérard Talbot (no longer involved) 2010-04-07 03:41:41 UTC
This bug 170069 is NOT a duplicate of bug 48458.


Techniques for User Agent Accessibility Guidelines 1.0
2.3 Render conditional content (P1)
Example techniques can be read at
http://www.w3.org/TR/UAAG10-TECHS/guidelines.html#tech-conditional-content

regards, Gérard
Comment 4 Gérard Talbot (no longer involved) 2011-07-11 17:55:43 UTC
bug 170069, bug 48458 and bug 276839 should merge into 1 single bug report.
Comment 5 Gérard Talbot (no longer involved) 2011-07-12 18:03:29 UTC
Bug 158249, bug 170069, bug 48458 and bug 276839 should merge into 1 single bug report.

Gérard
Comment 6 Dawit Alemayehu 2011-12-31 17:24:54 UTC

*** This bug has been marked as a duplicate of bug 158249 ***