W3C home > Mailing lists > Public > public-html-a11y@w3.org > September 2010

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

From: Steven Faulkner <faulkner.steve@gmail.com>
Date: Fri, 10 Sep 2010 15:36:33 +0100
Message-ID: <AANLkTinWza=toejqjNyqU=-kA0-AYA7pxGObKb4Pq=C-@mail.gmail.com>
To: W3C WAI-XTECH <wai-xtech@w3.org>, HTML Accessibility Task Force <public-html-a11y@w3.org>
Cc: Richard Schwerdtfeger <schwer@us.ibm.com>
Hi all,
the code below references a hidden div element with a description. The
description text string is provided in the accessible description property
in MSAA and Ia2 in firefox, should it be given that the div is hidden?

 <img alt="bottle" aria-describedby="x">
<div aria-hidden="true" style="display:none">
blue bottle with a rusty lid

 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:

   1. Skip hidden
<http://www.w3.org/TR/wai-aria/complete#def_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
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

with regards

Steve Faulkner
Technical Director - TPG Europe
Director - Web Accessibility Tools Consortium

www.paciellogroup.com | www.wat-c.org
Web Accessibility Toolbar -
Received on Friday, 10 September 2010 14:38:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:55:44 UTC