aria-labelledby with aria-hidden

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 07:53:54 UTC