Re: aria-labelledby with aria-hidden

hi Bryan
if you use a <label> why do you need aria-labelledby?
--

Regards

SteveF
Accessibility is political[image: ✊]
Working for the web
<https://twitter.com/stevefaulkner/status/940835584410574850>,
anywhere and everywhere [image: 🖖🏽]


On Mon, 20 Sept 2021 at 08:58, bryan rasmussen <rasmussen.bryan@gmail.com>
wrote:

> Hey,
>
> I had an element with role checkbox, if I did that with a label next to it
> and
> checkbox - aria-labelldby=label, label for = checkobox
>
> I found that using VO with chrome ended up reading first tickbox with
> the correct label in the checkbox and then next move with the virtual
> cursor read out the text content of the label.
>
> however if I put aria-hidden on the label then VO with chrome and VO
> with safari both read out tickbox with label content and I don't
> navigate into label content with my next forward navigation.
>
> This works great, however I worry it is against the standard?
>
> Thanks,
> Bryan Rasmussen
>
>

Received on Monday, 20 September 2021 08:09:12 UTC