Success Criterion: For all non-text content that is functional, such as graphical links or buttons, text alternatives serve the same purpose as the non-text content.
Non-text content is "functional" if the end-user can do something that will cause an action to occur (the user performs an action and the non-text content has a reaction). Functional non-text content may include hyperlinks, form fields, interactive images (image maps, flash animations?), etc. Functional non-text content does not include applets, flash animations, etc. Refer to Guideline 4.2 or Guideline 1.3 Success Criterion #y (John's proposal for a new SC) for information about making applets, scripts, and programmatic objects accessible. @@need to discuss this definition. not consensus.
When the function of the non-text content is perceivable to the end-user (ala Principle 1) and the end-user can interact with the non-text content ala the Success Criteria of Principle 2 - Operable.
To highlight that text alternatives must clearly indicate the action that will occur if the user activates the function.
There are four types of non-text content identified in Level 1 of Guideline 1.1:
@@explanation of the different types. this explanation would appear in the general guidelines for each of the other 3 success criteria as well. This is intended to help people understand when to apply which criterion.
@@
@@explanation of examples?
A navigation bar includes an image of a house that links to the site's home page. The text alternative says "Home" and activating the link takes the user to the home page.
What not to do (bad examples)
Techniques
@@thought it might be helpful to link to the specific techniques from within each example to help people determine which techniques apply to which instances/examples
A news report about a press conferences links to an audio recording of the conference as well as a text transcript of the conference. The link to the audio recording is a common "sound" icon as well as the text, "Listen to the press conference." The text alternative for the icon is, "Audio recording."
User scenarios:
A search form includes a button featuring the image of a magnifying glass. The text alternative for the graphic says “Search.”
A news site includes a map of countries that were struck by the tsunami of December 2004. Each country on the map is a link to information about the tsunami’s impact. Text alternatives for each selectable area give the name of the country.
@@even though thought about including techniques up above, though some sort of "index" of all techniques and tests might be helpful here.
Description: @@add something non-technology specific about how writing good text alternatives for functional non-text content?? or, if go with the above format, not need the same "general" techniques here?
General guidelines for writing good text alternatives for functional non-text content
If the user agent can identify the non-text content as a "button" then you don't need to include the word "button" in the text alternative. Also, if non-text content and text link are grouped as a single "button," avoid duplicating text in the link text and the text altnerative.
If your authoring tool inserts a placeholder such as, "image" be sure to replace it with something meaningful. ('nbsp', 'spacer' and SRC attribute value (filename).)
If the text alternative will be redundant with an associated text link, use a null text alternative.Refer to the techniques for Guideline 1.1 Level 1 Success Criterion #4: Non-text content that does not provide information, functionality, or sensory experience is marked such that it can be ignored by assistive technology.
Objective: Associate functional non-text content with text alternatives that serve the same purpose as the non-text content.
Applies: To every delivery unit includes non-text content that provide functionality
Benefits: Text alternatives replace non-text content for people who use screen readers, text-only displays, telephone interfaces, etc. Text alternatives also replace non-text content for people who are temporarily unable to view the screen. Thus when non-text content provides functionality, text alternatives must provide the same functionality.
HTML Techniques are informative examples of how one might satisfy the success criterion using HTML. HTML Tests provide further specifics that may be used to determine if the techniques have been applied correctly and are written at the level that might be most usable by people developing Authoring Tools or Evaluation and Repair Tools.
HTML Techniques | HTML Tests |
---|---|
Short text alternatives for img elements ("alt-text") |
|
Short text alternatives for object elements (future) |
|
Text for images used as links | |
Image and text links side by side |
|
Text links for server side image maps. (deprecated) |
|
Text alternatives for client-side image maps |
|
Text and non-text alternatives for object |
|
Text alternatives for submit buttons |
|
scripts and applets (out of scope? depends on defn of non-text content) |
|
CSS Techniques are informative examples of how one might satisfy the success criterion using CSS in combination with another technology such as HTML or SVG.