Aria Role (Dropdown Menu) question (solved)

I do have a dropdown menu in my navigation, and the web accessibility evaluation tool (https://wave.webaim.org/report#/https://dev.fynndesign.de/#) shows an error concerning the aria-role on that dropdown.

I tried to add the aria-label="menu" everywhere, but the error remains. Does anyone have experience with this?

Did you read the notes it gives

There are some docs about it here, with an example. Looks like adding role="menuitem" to the links in the menu is the practise.

Hey Pete, of course I did read the notes :wink: And I gave each link an attribute of aria-role="menuitem.

It was late. I read it again and changed the attributes to role="menuitem" That did the trick :man_facepalming:

3 Likes