Re: use of aria-hidden to provide a text description not visible on the page.

Steven Faulkner wrote:

> the following from the WAI-ARIA spec [http://www.w3.org/TR/wai-aria/complete#namecalculation] suggests it is OK.
> "The text alternative for a given node is computed as follows:
> 
> Skip hidden elements unless the author specifies to use them via an aria-labelledby or aria-describedby being used in the current computation. By default, users of assistive technologies won't receive the hidden information, but an author will be able to explicitly override that and include the hidden information. "
> If so it is a useful method of providing descriptive information for AT users.

That's correct. The label of visible elements should still be exposed to accessibility APIs (as a computed string), even if the labeling element (that contained all or some of that string) is hidden.

Received on Friday, 10 September 2010 17:50:18 UTC