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

Re: 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 16:42:32 +0100
Message-ID: <AANLkTikjHttELr3h5YpAMQdzOhzN-bUeq9R1EFU7SDW8@mail.gmail.com>
To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Cc: W3C WAI-XTECH <wai-xtech@w3.org>, HTML Accessibility Task Force <public-html-a11y@w3.org>, Richard Schwerdtfeger <schwer@us.ibm.com>
Hi leif,
>Did you by "should it be given that the div is hidden?"
No i was hoping to get confirmation that the behaviour exhibited is indeed
correct in regards to the aria spec, it seems pretty clear to me that it is,
I am just surprised by it.

But it of course brings up the question of the relationship between
aria-hidden and the html5 hidden attributes, as i am pretty sure that this
behaviour conflicts with what is specified for the html5 hidden attribute.

regards
Stevef
On 10 September 2010 16:33, Leif Halvard Silli <
xn--mlform-iua@xn--mlform-iua.no> wrote:

> Did you by "should it be given that the div is hidden?" mean to ask if
> ARIA should treat an element with the @hidden boolean the same way as
> it would treat an element with the @aria-hidden?
>
> (This reminds me about Jonas' recent suggestion in the @longdesc
> debate, that it should be possible to point to a @hidden element via
> aria-labelledby/-describedby.)
>
> Leif
>
>
> Steven Faulkner, Fri, 10 Sep 2010 15:47:09 +0100:
> > Note: also exposed as an accessible decription in Safari on Mac and
> > chrome on windows.
> >
> > regards
> > Stevef
> >
> > On 10 September 2010 15:36, Steven Faulkner
> > <faulkner.steve@gmail.com> wrote:
> >> 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
> >> </div>
> >>
> >>
> >>  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 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.
> >>
> >> --
> >> with regards
> >>
> >> Steve Faulkner
> >> Technical Director - TPG Europe
> >> Director - Web Accessibility Tools Consortium
> >>
> >> www.paciellogroup.com | www.wat-c.org
> >> Web Accessibility Toolbar -
> >> http://www.paciellogroup.com/resources/wat-ie-about.html
> >
> >
> >
> > --
> > with regards
> >
> > Steve Faulkner
> > Technical Director - TPG Europe
> > Director - Web Accessibility Tools Consortium
> >
> > www.paciellogroup.com | www.wat-c.org
> > Web Accessibility Toolbar -
> > http://www.paciellogroup.com/resources/wat-ie-about.html
>



-- 
with regards

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

www.paciellogroup.com | www.wat-c.org
Web Accessibility Toolbar -
http://www.paciellogroup.com/resources/wat-ie-about.html
Received on Friday, 10 September 2010 15:51:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:14 UTC