RE: aria-describedby and visibility, what is the expected spec behavior?

Hi Birkir, you can control the association by not setting aria-describedby until the error is made visible, then when focus is set to the field after this, it will be announced.

 

From: Steve Faulkner [mailto:faulkner.steve@gmail.com] 
Sent: Thursday, April 17, 2014 10:51 AM
To: Birkir Gunnarsson
Cc: W3C WAI Protocols & Formats
Subject: Re: aria-describedby and visibility, what is the expected spec behavior?

 

 

On 17 April 2014 18:43, Birkir Gunnarsson <birkir.gunnarsson@deque.com <mailto:birkir.gunnarsson@deque.com> > wrote:

s this expected behavior for aria-describedby, that assistive technologies should communicate the value of the associated labelling elements regardless of their visibility settings

 

yes, refer to section 5.6.1.3. Text Alternative Computation of the ARIA implementation guide: http://www.w3.org/WAI/PF/aria-implementation/#mapping_additional_nd



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 text alternative as part of the label string sent to the accessibility API.



--

Regards

SteveF

HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/> 

Received on Thursday, 17 April 2014 17:59:12 UTC