WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: hide decorative characters from screen readers

for

From: Keith Parks
Date: Aug 12, 2011 5:06PM


On Aug 12, 2011, at 12:41 PM, James Nurthen wrote:

> John, This is how it used to work - but WAI-ARIA introduces the following
> into the accessible name calculation (
> http://www.w3.org/TR/wai-aria/roles#textalternativecomputation )
>
> 3. Text nodes are often visited because they are children of an element that
>> uses rule 2C to collect text from its children. However, because it is
>> possible to specify or alter textual content using CSS rules, it is
>> necessary for user agents to combine such content, as appropriate, with the
>> text referenced by the text nodes to produce a complete text alternative. An
>> example is the use of CSS :before and :after pseudo-elements, where the user
>> agent combines the textual content specified in the style sheet with that
>> given in the DOM.
>>
>> - When an image replaces text, then the UA should use the original
>> text, since that text is presumably the equivalent.
>> - When text replaces an image, then the UA should provide that text.
>> - When new text replaces old, then the UA should include the new
>> text, since that is what is rendered on screen.

Huh?

Can you put that in *plain* English?

(Yes, I realize a lot of talk on this list is by nature fairly technical, but that one went right over my head.)

******************************
Keith Parks
Graphic Designer/Web Designer
Student Affairs Communications Services
San Diego State University
San Diego, CA 92182-7444
(619) 594-1046
mailto: <EMAIL REMOVED>
http://www.sa.sdsu.edu/communications

http://kparks.deviantart.com/gallery
----------------------------------------------------------

Yes We Can!*

*should not be interpreted to mean that we necessarily will