WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Accessible Modal

for

From: Sailesh Panchang
Date: May 22, 2015 6:15AM


Jonathan,
Yes, an image can refer to hidden text like
<div id="help" hidden>Some helpful text for an SR</div>
I was not referring to that.
I believe the above referred bug when resolved is meant to allow
aria-hiddenúlse override HTML5 hidden or CSS display:none on the
same element.
<div hidden aria-hiddenúlse">Help text for SR</div> can contain
helpful text for an SR user.

The HTML5 hidden attribute is "typically implemented via CSS" and can
be overridden by CSS display property like:
<div hidden style="display: block">But This is exposed to AT</div>
Sure it does not make great sense for an author to do so.
But today this does not work if aria-hiddenúlse is used in place of
CSS display property.
Chris ...alright, this is my last message.
Thanks,
Sailesh


On 5/21/15, Chris Pearce < <EMAIL REMOVED> > wrote:
> Thanks everyone for your input, it has been really valuable and good to
> know that the solution I've been using is the solution I should be using.
>
> Chris
>
> On 22 May 2015 at 04:46, Jonathan Avila < <EMAIL REMOVED> > wrote:
>
>> > But aria-hiddenúlse on the same element will expose content to AT:
>> <div hidden (or display:none) aria-hiddenúlse">This content is exposed
>> to AT</div>
>>
>> This seems incorrect to me. From my read of the HTML spec user agents are
>> only supposed to expose hidden content to an accessibility API if it is
>> referenced by an id such as in the case of aria-labelledby and
>> aria-describedby.
>>
>> Jonathan
>>
>> --
>> Jonathan Avila
>> Chief Accessibility Officer
>> SSB BART Group
>> <EMAIL REMOVED>
>> Phone 703.637.8957
>> Follow us: Facebook | Twitter | LinkedIn | Blog | Newsletter
>>
>>
>>