ZopaPublic/react-components

Navigation fails Lighthouse accessibility checks

Closed this issue ยท 5 comments

We've added things like role="menu" and role="menuitem", but we are advised against doing this by accessibility experts: https://inclusive-components.design/menus-menu-buttons/

Also the whole header has the role="banner" where it should only be the logo container: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Banner_Role

Great findings both!
Does anyone of you want to get assigned to this issue? Or maybe @emilfjellstrom?
Else we can add the label help wanted in the issue.

@poteirard I've started a PR, so happy to be assigned ๐Ÿ‘

๐ŸŽ‰ This issue has been resolved in version 4.35.1 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€