Re: HTML5 'hidden' attribute and assistive technologies

Now I understand better.

Thanks.


--
Bernat Lleonart

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday 8 October de 2019 a les 7:04, Tobias Bengfort <tobias.bengfort@posteo.de> wrote:

> Yes, AT should include it. `hidden` is basically a synonym for
> `style="display: hidden"` and can be overwritten by CSS.
>
> This was discussed a while ago in this issue:
>
> https://github.com/w3c/html-aam/issues/178
>
> tobias
>
> On 07/10/2019 20:16, Bernat Lleonart wrote:
>
> > Hello,
> > I would like to use this responsive menu on a site I am building:
> > https://codepen.io/Kilian/pen/yLBQBpK
> > I can see that when the viewport is over 40rem wide, the menu is
> > visible horizontally. However, the ul#menu still has the 'hidden'
> > attribute applied, although it is visible.
> > Is there any problem with this behaviour? Will a screen reader
> > anounce the menu although it has the hidden attribute?
> > Thank you.
> > -- Bernat Lleonart

Received on Tuesday, 8 October 2019 05:31:33 UTC