Omitting Text Alternatives on <img>
Issue
The img element section in the latest published HTML 5 Draft allows instances where the <img> element may have no text alternative, not just a null alt attribute for eye candy, but no text alternative for content.
It says: "In a rare subset of these cases, there might be no alternative text available. This could be the case, for instance, on a photo upload site, if the site has received 8000 photos from a user without the user annotating any of them. In such cases, the alt attribute may be omitted, but the alt attribute should be included, with a useful value, if at all possible. In any case, if an image is a key part of the content, the alt attribute must not be specified with an empty value."
Text alternatives are essential for accessibility. HTML 5 should have a markup technique to indicate whether or not the alternate text of an image is critical to understand the content, though differentiating reliably between ignorant and intentional lack of text is a challenge. The issue is ensuring images have accessible alternatives.
Status
Open Issue:
Option F
The current wording in the editor's draft is Option F (a variation of John Foliot's proposal).
On August 26, 2008 the editor explained the proposal saying, "We could say that for these key content without alt text cases, we have the alt="" attribute omitted, but there must be at least one of the above, and the first of the above that is present must include sufficient information to orient the user." The example he gave:
title="" attribute on the <img> itself
<legend> of the <figure> that contains the <img>
heading of the section that contains the <img>
This idea has several ways of providing alternative text, which don't have to come from the alt attribute. That is fine. It's the user agent's job to provide that information through an accessibility architecture, so it could be made to work.
If the general phrase "key content without alt text" is changed to "images without alt text", "Option F" could work, as it requires that there must be at least one of the options. But "key content" is subjective and open to abuse.
There is a residual issue in that Option F doesn't specify that if no accessible option can be determined, then the resulting structure should be considered non-compliant. The real issue of ensuring that images have an accessible alternative is not addressed. Any page that lacks a text alternative for an image by at least one of the proposed methods needs the validator to flag the error and declare the page invalid. This is the missing point in the Option F idea. Requiring the text alternatives by at least one of the proposed methods is needed.
Issue and Action History
Announcement
August 23, 2007: "Why the Alt Attribute May Be Omitted" - WHATWG Blog post by Lachlan Hunt.
- September 2007: This wiki page created to track issue - Laura Carlson.
Request for PFWG CG WAI Review
October 23, 2007: Request for PFWG WAI Review - Laura L. Carlson, Steve Faulkner, Gregory J. Rosmaita, Joshue O Connor, Philip TAYLOR, Robert Burns.
February 7, 2008: PFWG Official Advice Provided by Al Gilman, PF Chair.
April 23, 2008: ACTION-61 Created for DanC to Ensure HTML WG responds to PF WG on Omitting alt Attribute.
June 11, 2009: WAI-CG Consensus Recommendations on Alternative Text in HTML 5 - Janina Sajka, PF Chair.
ISSUE-31
February 6, 2008: ISSUE-31 Created Missing-alt "What to do when a reasonable text equivalent is unknown/unavailable?" Raised on behalf of Laura Carlson and the WAI PF WG.
ACTION-54 Draft text to require producers/authors to include @alt
February 21, 2008: ACTION-54 was created for the purpose to draft text "to require producers/authors to include @alt on img elements" - Steve Faulkner, Laura Carlson, Joshue O Connor.
May 8, 2008: Action 54 First Draft Deliverable.
May 28, 2008: Action 54: Second Draft - Steve Faulkner, Laura Carlson, Joshue O Connor.
Requests for PFWG Review and Advice (needed to complete action 54)
March 25, 2008 Advice sought from PF Use of normative statements in HTML 5 relating to appropriate alt attribute content - Steven Faulkner.
April 15, 2008: Request for PF to Review of alt and alt value for authoring or publishing tools - Laura Carlson, Steve Faulkner, Joshue O Connor, Leif Halvard Silli, Philip TAYLOR.
August 11, 2008 Email to PF requesting updates on alt request guidance - Laura Carlson.
September 25, 2008: GJR: "Tomorrow PF has its meeting and we can discuss it there and I will then feedback to the HTML 5 group." Tracker notes "Gregory coming back next week with info from PF."
August 20, 2008: Action 54 Third Draft (minimalist approach) - Steve Faulkner, Laura Carlson, Joshue O Connor.
September 25, 2008: Tracker notes - "Status changed to 'closed' [Chris Wilson]"
No Response from PF for March 25 or April 15, 2008 requests to date. Advice is needed to complete action 54.
Call for Papers
June 13, 2008: Call for papers process proposal for a special meeting or meetings for fact-finding on issues related to @alt in HTML5 - Al Gilman.
ISSUE-31 Curly Brackets
August 13, 2008: ISSUE-58 curly brackets (abuse of the alt attribute and does not satisfy the WCAG) raised by Joshue O Connor.
Note: The Curly Brackets idea was taken out of the editor's draft and replaced by Option F (a variation of John Foliot's proposal).
ISSUE-66
January 15, 2009 ISSUE 66 Opened "image analysis heuristics" - This text should be stricken, because it gives the message that this is viable now. It's not. - Matt May
ACTION-98 Discuss missing-alt with the WAI CG and report back
January 15, 2009 Action 98 Created - Matthew May
Bug 6494
January 29, 2009: Bug 6494 Filed "Make the requiredness about alt more obvious" - Simon Pieters
April 1, 2009: Editor "added a section for conformance checkers... not sure how else to do it.". This 2950 - 2951 edit reads: "Conformance checkers must report the lack of an alt attribute as an error unless the conditions listed above for images whose contents are not known or they have been configured to assume that the document is an e-mail or document intended for a specific person who is known to be able to view images."
Bug 6496
January 29, 2009 Bug 6496 Filed "Allow <img aria-labelledby> to act as a caption" - Simon Pieters
Contents
- Omitting Text Alternatives on <img>
- Issue
- Status
- Issue and Action History
- Proposed Solutions
- Conscious Decision with Error Handling
- Explicitly Noted Alternatives Via Multiple Methods
- Mandatory alt with Child Exception
- noalt Flag
- Reserved Value
- Reserved Value Variation
- Generic Attributes
- "unready" Stamp
- Enumerated Labels
- New purpose or rel Attribute
- Role Values
- Curly Braces
- Alt as Role and New "importantimage" Attribute
- Mandatory Text Alternatives/Encourage Guideline Use
- Rationale: Why alt Should Not Be Optional
- Rationale: alt Should Be Optional
- Research
- Advice From Accessibility Authorities
- Use Cases
- Policies, Guidelines, and Law
- References
- Related E-mail Threads
- Search on Markmail for Related E-mail
Proposed Solutions
Conscious Decision with Error Handling
Have tools like Flickr default to images remaining invisible to the public until:
- Text alternatives are provided by the author or
- A conscious decision has been made by the author to deliberately publish them without text alternatives.
If option 2 is chosen use a metadata repair technique which identifies/stamps the metadata as indeed a metadata repair to make it clear it is a machine-generated patch-job and not a human-generated text alternative. The two aren't the same and shouldn't be confused or on purpose or otherwise.
Then something with no author input relying exclusively on metadata for a text alternative could be an error or a warning, or at least a nice debate could ensue regarding its severity level. Example:
<img src="http://flickr.com/noauthorinput.jpg" alt="JoeBlow's photo taken 22 November 1964 at 17:33:06" metadata="true">
This solution would:
- provide a means for conscious author deliberation
- provide error detection and handling
- enable accessibility tools and validators to quickly discern where metadata has been used and allow for future improvement of the text alternative
Explicitly Noted Alternatives Via Multiple Methods
Explicitly note and provide as many other ways of providing text alternatives as possible. Having *any* of the methods below of expanding upon the visual-only content present would thus render the <img> element conformant. Any other HTML 5 implementation of <img> which lacks *any* of the provided means of "equivalent alternatives" be non-conformant, and further suggest that this result with the most drastic of consequences: image non-rendering. (Give out more rope, but increase the risk of hanging oneself). These (and perhaps other) means/tools at their disposal, would cover the the end (human) author or at the "program" level (WYSIWYG/file upload site/etc.) scenarios. (Note: the editor picked up on a variation of this proposal in his (Option F).
- @alt and/or @longdesc (if longdesc is put into the spec)
- @alt and/or @legend
- @alt and/or @id
- @alt and/or @figure
- @alt and/or @caption
- @alt and/or (ARIA Variants suggested)
- @alt and/or (suggested reserved values)
- @alt and/or (open to further suggestions)
Mandatory alt with Child Exception
Make the alt attribute "required except when the element is a child of x". The use case for <img> without alt is the same use case for <figure>. So make <img> without alt only be allowed as a child of a <figure> element. (Note that images representing text inside a <legend> should obviously include @alt).
noalt Flag
Explicitly flag images that have the alt attribute omitted with something like a 'noalt' attribute that is to be used when alt text for some reason cannot be specified. This would make it known that the author (or authoring tool) has intentionally not supplied an alt text. It would also make it easier to use validation to check for mistakenly missing alt attributes and provide a clear indication that the image has no alternative text, but contains "critical content" rather than just being a decorative or layout image that the author has not provided an alt attribute for due to ignorance or laziness.
Reserved Value
Reserved value for alt like alt="_none" (with the underscore) for instances when automated tools do not allow for author supplied alt text. While it does not completely address the real problem (the image still is inaccessible to the non-sighted/non-visual UA), User Agents could be configured to deal with an expected value such as this consistently (as could Adaptive Technology), and equally important maintains the requirement of an alt value in an image. Will content authors continue to abuse this? Probably, but they will be making a conscious decision to 'abuse', rather than skate by their responsibility by pointing to a spec and saying "see, it's allowed".
Reserved Value Variation
User enters attribute "_none" (alt="_none"). This entered value signifies a conscious decision by the author that the associated image's alt attribute should be empty. Authoring tool (CMS) enters value "_omit" (or other) to signify that the content editor has omitted alt attribute. This is the equivalent generated value to hand-coded _none. (By providing this ability we make a clear distinction between user entered and Authoring Tool generated.). Authoring tool (CMS) enters value "_ignored". This generated value signifies that content editor ignored the alt attribute.
Generic Attributes
Use of generic attributes like ARIA labelledby and describedby.
"unready" Stamp
Use of an "unready" stamp, which all authors and all editing tools could use, when they need to offer HTML which they consider technically unready. (Because of the relativity of what e.g. a good 'alt' is, the author/editor judgment always matter.) When one sets the "unready" flag, it will never formally validate, even if there are no formal errors. If you don't include the 'unready' flag, then readers should assume that the author think it is technically ready.
Enumerated Labels
Use of enumerated labels such as alt="1", alt="2", etc.
New purpose or rel Attribute
Add an additional attribute to the image element called purpose or rel for meta information regarding the kind of image (e.g. user-uploaded image, photo, diagram).
Role Values
Make alt optional; Define additional role values; Add new DOM method img.getEXIFData - T.V Raman.
Use a role attribute for meta data. As more and more photographs are taken with digital cameras it is very easy to tag them as role='photo' from the internal metadata of the image format.
Curly Braces
Make alt="" required and say that when you don't know what the image is, you have to say what kind of image it is (e.g. "uploaded image", "photo", "thumbnail", or whatever) and put that in braces in the alt="" attribute, as in alt="{photo}".
Alt as Role and New "importantimage" Attribute
Require alt="" to be specified on these images (e.g. with suggested "External Image", or "Photo", or whatever -- a caption, in this case, not an alternative) and then add a new attribute which means "This image is intended to be used as an image and cannot be considered equivalent to any text". Then, the alternative text (which would be required to be a short label for the kind of image being discussed, not its caption, not a description, and obviously not any kind of alternative or replacement) would be taken and made available to the user in a UI like this: [Image: Photo] ...in a manner clearly distinguishable from <span>Photo</span> and <img src="..." alt="Photo"> (and maybe more similar to <a href="">Photo</a>). Expected values for this attribute would be things like "Photo", "User- provided image", "Rorschach inkblot test", or similar; values that would otherwise be completely inappropriate for alt="". It would then be non-conforming to have such alt text (text saying what kind of image is present as opposed to text that can replace the image altogether) _without_ this new attribute. Example:
<figure>
<img src="1100670787_6a7c664aef.jpg" alt="Photo"
importantimage="importantimage"/>
<legend>Bubbles traveled everywhere with us.</legend>
</figure>
Mandatory Text Alternatives/Encourage Guideline Use
Restore the requirement for the text alternatives on all images. Encorage tools that adhere to Authoring Tool Accessibility Guidelines (ATAG), User Agent Accessibility Guidelines (UAAG), and have the ability/features to generate good alternate text. Plus educating users at all levels (professionals, and casual users of web services, such as Flickr) to use those features to adhere to WCAG.
Rationale: Why alt Should Not Be Optional
- It creates a scenario where authors can (and most likely will) start finding "justifications" based on their opinions, to not supply alt text rather than facts and needs. It suggests that it's OK to "sometimes" not provide alternative text. That "sometimes" will become open to interpretation, misuse and abuse (despite best intentions). It condones and permits the ability to create inaccessible content. All anyone will hear, if text alternative is optional, is that it is optional. They will not read anything else about it. Case closed, the end. Optional will equal don't need it. Optional will be the operative word. The law of conservation of Web production energy will demand an end to the entire practice of adding text alternatives. After all it is optional, not needed, out of sight out of mind, so 2007. Practically deprecated. Optional = not needed.
Omitting the alt attribute leads screen readers announcing the value of the img element's src attribute when an image is in a link. In many cases the filename contained in the src attribute is pure nonsense that does not provide the user with any useful information about the image. Recent research suggests that encouraging omission will reduce the accessibility of images even under conditions where the quality of the alt text is poor.
It promotes poor authoring tools. Flickr, Photobucket, and Wikipedia are examples of incorrect software implementation. Every author should be forced to make a decision about an alt text for every image, whether to write a real alt or to go with null text. In contrast , XStandard is a correct implementation. It prompts the user to identify if an image is decorative or not. The user makes the decision. If they say the image is not decorative, and in fact actual content, they must submit alt text before the image can be saved.
- It is unreasonable to state that the output from authoring tools should always be considered valid, regardless of input from the user. Considering output to be correct regardless of input is at odds with the general garbage in garbage out (GIGO) principle. For example, an author can provide an address with the address element that isn't a contact address, which would not be considered compliant in HTML. The author obviously has a responsibility in using an authoring tool.
- An incomplete does not equal a passing grade. Optional should not be valid.
- Condoning the omission of text alternatives for "some" critical content is a slippery slope. At what level does it stop? If a person has 100 or 50 or 10 photos that they want to share, is it okay then to not include the text alternative? Then if its okay for ten why not one?
- Requiring the text alternatives is an undeniable advertisement that it is needed, and a chance to educate the author about proper usage. When a well meaning author validates their pages, they will come across the error, and be notified. The abuse of text alternative that is noted here (repeating text, useless information) is because when authors first discovered that they must use text alternatives, they were given poor instructions. With the improved specification of the usage of text alternatives, it makes all the more sense to keep it as a required. If text alternative is not required, all the existing content with abuse will remain. With it required, there is a better chance that authors will find out how to use it better.
- A valid page isn't necessarily an accessible page, but an accessible page's foundation is validity. This is the crux of the education argument. When the validator flags a missing alt it creates a teachable moment. A moment of great opportunity: a time to flag errors, educate, to make people aware, and to get action, to get people to actually fix their pages. Henri's image report feature on Validator.nu is a great step in the right direction. A W3C validator could do the same but with the teeth to flag missing text alternatives as an error or warning...and then explain or point people to what they need to do and why.
- The W3C validator is currently used as a web accessibility teaching tool. Students are instructed to use the W3C validator in classes in order to flag missing text alternatives. It is the very first step in getting that important *message* across. One of their first lessons is to validate HTML on the W3C site to be sure that it is error-free and that they have indeed examined each image. It makes a BIG impression that text alternatives are mandatory not just for WCAG but as well for valid HTML.
- Boiling the issue down to an image having or not having an text alternative doesn't cater for the third scenario: an image that is indeed a critical part of the content, but for which the author - through negligence, ignorance, or non ATAG-compliant authoring environments - has not provided an alternative. Being able to distinguish between images that are simply iconic/representative of surrounding text and those that have not been authored correctly is essential for signaling to assistive technology whether or not it should attempt heuristics (reading file name, for instance) or alert the user (by simply announcing 'image') in the latter case.
- Creating content on the web that is only accessible by one group of people is never appropriate. Sites like flickr that have tools which let photo contributors upload photos in batches is for convenience. As often happens, convenience for one group of people causes another group of people to be locked out.
- Mutual dependencies exist between W3C technical recommendations. Omitting the text alternative for critical content contradicts WCAG and ATAG. What kind of message would having conflicting guidelines send? Think of that. WCAG requires alternative text and that's not likely to change. If HTML5 doesn't consider this important enough to require, the spec might as well be saying WCAG's not really required either.
- From an architectural point of view, the structure of an image isn't complete without alternate text, so it should be a required attribute for that reason alone.
- Anyone suggesting not requiring text alternatives should demonstrate that doing so will be an accessibility improvement. Research must be completed into how user agents deal with the absence of the alt attribute and how this affects the end user. Suggestions of future heuristic tools providing useful content are still in the future.
- Allowing alternate text to be optional in the structure doesn't address the problem of poor alternative text being provided by the author or the authoring tool they use - it is lowering the integrity requirements for conformance. The only obvious benefit is that most tool vendors will automatically adhere to HTML5, as very few adhere to existing standards.
The phrase "When it is possible for alternative text to be provided, (...), text that conveys can serve as a substitute for the image must be given as the contents of the alt attribute" fails the W3C's quality assurance requirements, because "possible" is a subjective term (what is possible to one person may be impossible to another). This would be a discretionary item. Even discretionary items need to be well defined, which is not the case for "possible" in the current HTML 5 draft. The Specification Guidelines in the W3C QA Framework advise specification authors to "Provide as much information as possible to narrow the allowable choices and to increase predictability...Narrowing choices and increasing predictability enhance the likelihood of interoperability since the implementer chooses from a reduced sample space. Narrowing choices, providing more information, and eliminating incorrect choices increases the chances of correct implementations. An enumerated list of values is one way to constrain the choice of optionality." It needs to be shown that the phrase "When it is possible for alternative text to be provided" meets these guidelines.
- A language shouldn't have its accessibility features loosened for the benefit of people who consciously deny (or "who don't share the goals of") accessibility. Since people presently use HTML in a way that discriminates against people with disabilities HTML5 should not be complicit in that discrimination.
Requiring the alt Attribute in HTML5 (Rationale roundup) - Gez Lemon
- Applicable Design Principles:
Accessibility: "Design features to be accessible to users with disabilities. Access by everyone regardless of ability is essential. This does not mean that features should be omitted entirely if not all users can make full use of them, but alternate mechanisms should be provided. The image in an img may not be visible to blind users, but that is a reason to provide alternate text, not to leave out images."
Pave the cowpaths: "When a practice is already widespread among authors, consider adopting it rather than forbidding it or inventing something new."
Evolution Not Revolution: "Revolutions sometimes change the world to the better. Most often, however, it is better to evolve an existing design rather than throwing it away. This way, authors don't have to learn new models and content will live longer. Specifically, this means that one should prefer to design features so that old content can take advantage of new features without having to make unrelated changes. And implementations should be able to add new features to existing code, rather than having to develop whole separate modes."
Solve Real Problems: "Changes to the spec should solve actual real-world problems. Abstract architectures that don't address an existing need are less favored than pragmatic solutions to problems that web content faces today. And existing widespread problems should be solved, when possible."
Priority of Constituencies: "In case of conflict, consider users over authors over implementors over specifiers over theoretical purity."
Rationale: alt Should Be Optional
- Supplying alt attributes takes too much time for too little benefit. Providing accurate replacement text for about six hundred images is a pain. There are many observed cases where alternate text is simply unavailable and there's little that can be done about it. For example, most users of photo sharing sites like Flickr wouldn't have a clue how or why to provide alternate text, even if Flickr provided the ability. While everyone agrees that it would be wonderful if all users did indeed supply alt text and the spec strongly encourages it, in fact most users simply won't. It is unrealistic.
- It is a technical solution if you have these constraints: A.) The user is not going to be bothered providing replacement text. Or any other metadata for that matter. B.) The application author wants all his pages to be conforming. Well, at least for the machine checkable criteria. You can't use the concept of validity to stop people from achieving the results they want. They just figure out a way to do it in a less detectable way which means browsers have a harder time offering counter-measures to the users. Precedent suggests that in the case of validators, people will seek to fool them if the concept of validity stands in the way of the results they want and they have a requirement (for whatever reason) to be valid.
- An HTML5 authoring tool MUST NOT emit documents that do not conform to HTML5.
- No practical accessibility benefits are lost by conceding the fact that you cannot force everyone to provide alternate text and making the alt attribute optional for the purpose of document conformance. No-one is claiming that conformance to HTML5 equates to conformance with accessibility requirements. There are lots of things that are considered technically conforming in HTML, yet still inaccessible if used poorly.
- Making text alternatives technically optional doesn't stand in the way of accessibility requirements, nor greatly impact upon accessibility evangelism. It just acknowledges the reality of the situation in the hope of reducing the prevalence of poor quality, automatically generated alt text.
- No alt text is better than bad (not appropriate) alt text.
- People who truly care about accessibility will do alternate text properly (or at least try), no matter what the spec says. People who do not care about accessibility will not do alternate text properly, no matter what the spec says. In between, we have a real, demonstrated problem of software vendors who favor validation over accessibility to the point of actively hurting the latter to satisfy the former.
- It would not be effective to force tools to force authors to provide alt text. It won't work in all cases and the problem will still exist. It would seriously affect the usability of a site like Flickr for average users.
- The primary purpose of a markup language specification like HTML is that it be able to be used to construct a document with a specific meaning as determined by a publisher, and to permit a consumer to reconstruct that meaning when in receipt of the document. Whether a given document uses alt text or not matters not to that purpose. The optionality of text alternatives is therefore not the concern of the specification. Instead, it seems to be in domain of guidelines, best practices, and perhaps law.
Requiring the alt Attribute in HTML5 (Rationale roundup) - Gez Lemon
- Applicable Design Principles:
Accessibility: "Design features to be accessible to users with disabilities. Access by everyone regardless of ability is essential. This does not mean that features should be omitted entirely if not all users can make full use of them, but alternate mechanisms should be provided. The image in an img may not be visible to blind users, but that is a reason to provide alternate text, not to leave out images."
Pave the cowpaths: "When a practice is already widespread among authors, consider adopting it rather than forbidding it or inventing something new."
Evolution Not Revolution: "Revolutions sometimes change the world to the better. Most often, however, it is better to evolve an existing design rather than throwing it away. This way, authors don't have to learn new models and content will live longer. Specifically, this means that one should prefer to design features so that old content can take advantage of new features without having to make unrelated changes. And implementations should be able to add new features to existing code, rather than having to develop whole separate modes."
Solve Real Problems: "Changes to the spec should solve actual real-world problems. Abstract architectures that don't address an existing need are less favored than pragmatic solutions to problems that web content faces today. And existing widespread problems should be solved, when possible."
Priority of Constituencies: "In case of conflict, consider users over authors over implementors over specifiers over theoretical purity."
Research
Investigating the proposed alt attribute recommendations in HTML 5 by Steve Faulkner
testing the theory that required alt = bad by Steve Faulkner
alt, longdesc and headers attributes feedback by Catherine Roy
Advice From Accessibility Authorities
WAI and the PFWG
Conclusion:
"barring the introduction of new, good reasons for a change, the failure of the HTML5 draft to make @alt on <img> an across-the-board requirement (even if sometimes it has the value of "") is a bug."
Finding:
"The language "In such cases, the alt attribute may be omitted," gives the appearance of creating a policy line that is inconsistent with WCAG, whether 1.0 or 2.0. As such, this needs to be changed. HTML WG should re-work the <img> element section to bring it into line as techniques for implementing WCAG 2.0. We say 2.0 because of the strong likelihood that WCAG 2.0 will precede HTML5 to Recommendation status."
"WCAG WG is chartered to set Accessibility guidelines and HTML WG is not; so HTML5 should be careful to create features that support WCAG and describe their use in ways that conform to WCAG."
Source: Re: Request for PFWG WAI review of Omitting alt Attribute for Critical Content - Al Gilman
WAI CG and the PFWG
WCAG 2.0 WG
Comment 2615: Image use cases that WCAG doesn't address
- Comment Type: proposal
- Status: CLOSED (NOT ACCEPTED)
"This comment is about Guideline 1.1 Text Alternatives, and this comment is about the substance of the guideline. The HTML5 draft[1] gives advice and examples for including text alternatives for a variety of image uses cases. As far as I can tell, the following use cases aren't addressed by WCAG 2.0:
- A diagram illustrates what is already said textually. (HTML5 says alt="" for this case.)
- A user-uploaded image whose content is unknown to the programmer of the HTML generator that frames the image for Web display and the user hasn't supplied a text alternative. (HTML5 says to put the description of what kind of image the image is in curly braces in the alt attribute. E.g. a photo sharing site would use alt="{photo}")..."
Source: Henri Sivonen
Resolution
"We try to make our guidelines match technical standards to the extent possible. We have looked at the HTML 5 standard and we note that although many of the examples match the WCAG 2.0 guidelines - some do not, including the ones you mentioned. (although the second example you mention seems to have been removed from the September editors draft) We are adding one sufficient technique to make it clear that some of the examples in HTML 5 do conform with WCAG. The new technique is: G196: Using a text alternative on one item within a group of images that describes all items in the group (http://www.w3.org/WAI/GL/WCAG20/WD-WCAG20-TECHS/G196.html) As for the other one you cite above, we think that WCAG currently draws the line in the right place and changing the standard would create problems for accessibility." WCAG WG
Source: Comment 2615, WCAG 2.0
Use Cases
XStandard prompts the user to identify if an image is decorative or not. The user makes the decision. If they say the image is not decorative, and in fact actual content, they must submit alt text before the image can be saved.
Dreamweaver prompts the user for alternative text when an image is inserted into a document when accessibility options are enabled.
- Other software with Web Photo Album features like snapfish, smugmug and shutterfly.
- Most "social network" type sites such as myspace and facebook also feature photo galleries. deviantart also provides image galleries but focuses on artwork rather than photos.
Policies, Guidelines, and Law
B.2.4 Assist authors to ensure that equivalent alternatives for non-text objects are accurate and fit the context. - Authoring Tool Accessibility Guidelines 2.0
3.4 Authoring Tool Accessibility Guideline (ATAG). "Do not automatically generate equivalent alternatives. Do not reuse previously authored alternatives without author confirmation, except when the function is known with certainty...prompt the author for a text equivalent of an image. If the author has already provided a text equivalent for the same image used in another document, offer to reuse that text and prompt the author for confirmation."
WCAG 2 Guideline 1.1 - "Provide text alternatives for any non-text content so that it can be changed into other forms people need such as large print, braille, speech, symbols or simpler language".
Techniques for WCAG 2.0 F65 - "Failure of SC 1.1.1 due to omitting the alt attribute on img elements, area elements, and input elements of type 'image'.
Dutch Accessibility Law see section R-pd.7.1; English Translation: "Alt (alternative) attribute must be used on every img (image) and area element and must become to provide with an effective alternative text."
References
HTML 5 Draft: img element
Relevant Cited Blog, Wiki Posts and Papers
Can the alt attribute be omitted without hurting accessibility? by Roger Johansson
Thread: "Investigating the proposed alt attribute recommendations in HTML 5" from WebAIM
Supporting Standards that Support Accessibility by Joe Dolson
Is alt text necessary for photo sharing sites? - Bruce Lawson
Accessibility Dependencies of the Successor to HTML 4.01 - ESW Wiki
Comic Update: HTML5 Stubborness and Snogging By Kyle Weems
Relevant IRC Logs
General Alt Attributes, Alt Text articles
*Alt Attributes, Alt Text References
Related E-mail Threads
August 2007
September 2007
Investigating the proposed alt attribute recommendations in HTML 5
Investigating the proposed alt attribute recommendations in HTML 5
5 gears in reverse - anne v k enters the alt attributedebate
October 2007
February 2008
April 2008
omitting alt: closing an open issue with a bound action item in progress
New issue: IMG section of HTML5 draft contradicts WCAG 1 & WCAG 2 (draft)
Disparity between WCAG 2.0 and HTML5 editors definition of text alternative
Propose removal or modification of the "Rorschach inkblot test" example and accompanying text.
Re: html4all New issue: IMG section of HTML5 draft contradicts WCAG 1 & WCAG 2 (draft)
Propose adoption of the term "text alternative" (as defined in WCAG 2.0) in HTML5
Request for review of alt and alt value for authoring or publishing tools
May 2008
June 2008
minutes HTML WG issue-tracking telcon 2008-06-05 and Action 54 teleconference minutes - Michael Smith
August 2008
Clarification of case where 'there simply is no text that can do justice to an image'
Request for clarification of 'In many cases, the image is actually just supplementary'
January 2009
ISSUE-31 (missing-alt): What to do when a reasonable text equivalent is unknown/unavailable? January 15 teleconference minutes.
Need differentiator between "no alt text provided" and "no alt text necessary"
February 2009
April 2009
June 2009
WAI-CG Consensus Recommendations on Alternative Text in HTML 5 by Janina Sajka, PF Chair.
forwarding: WAI CG Consensus Resolutions on Text alternatives in HTML 5
Search on Markmail for Related E-mail