WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Best practice with ALT text

for

From: Jonathan Avila
Date: Jan 7, 2016 12:21PM


> The third makes reference to "elsewhere on this page" which just seems a bit odd. All things considered, I'm thinking that option 3 is actually the most generally beneficial.



The definition of "Text alternative" in WCAG is

Text that is programmatically associated with non-text content or referred to from text that is programmatically associated with non-text content. Programmatically associated text is text whose location can be programmatically determined from the non-text content.

Example: An image of a chart is described in text in the paragraph after the chart. The short text alternative for the chart indicates that a description follows.

Note: Refer to Understanding Text Alternatives for more information. (http://www.w3.org/TR/WCAG20/#text-altdef)



So that would indicate that you would need to reference the text from the alt text of the image.



However, WCAG conformance requirements allow for non-conforming page content on the page as long as it doesn't interfere and the page as a whole conforms. That is an image might not be accessible but somewhere else on the page there is an equivalent and the association isn't relevant for SC 1.3.1 to apply then the page could conform by simply marking the image as decorative and provide the equivalent. So I suppose it really comes down to SC 1.3.1 on whether the association communicated by the image and surrounding text is important and if so whether it is communicated in text elsewhere.



Jonathan



Jonathan Avila

Chief Accessibility Officer

SSB BART Group

<EMAIL REMOVED>

703.637.8957 (o)

Follow us: Facebook | Twitter | LinkedIn | Blog | Newsletter