Thanks for caring about accessibility. If I may, I would think the "list" role shouldn't be added to the "ul" tag (it is already attributed by default). Is there a specific bit of knowledge I am missing?
Thanks for caring about accessibility. If I may, I would think the "list" role shouldn't be added to the "ul" tag (it is already attributed by default). Is there a specific bit of knowledge I am missing?
VoiceOver won't announce a styled list as a list unless you specifically add the "list" role. I think the reasoning is that if you don't want it to visually be identified as a list, it shouldn't be announced as a list. I don't agree with that reasoning.
Thanks! I see this has been a thing for many years now, I'm surprised I haven't heard of it before - I guess I should invest in some Apple device... I really don't get why they do that, if it's not to be interpreted as a list I suppose it's up to devs to mark it as "presentation". All good then :)
Yep, that’s exactly right. @scottohara.me has written more about it here, for the curious