Skip to content

Conversation

alexdelgado
Copy link
Contributor

While running an accessibility test on a project using this package we found the following error: aria-label attribute is not well supported on a div with no valid role attribute.

You could simply add a role="navigation" to the div, but changing the div to nav will do that and be more semantically correct.

While running an accessibility test on a project using this package we found the following error: `aria-label attribute is not well supported on a div with no valid role attribute`.

You could simply add a `role="navigation"` to the div, but changing the `div` to `nav` will do that and be more semantically correct.
@xiaolin xiaolin self-assigned this Apr 22, 2022
@xiaolin xiaolin merged commit 5137871 into xiaolin:master May 9, 2022
xiaolin pushed a commit that referenced this pull request Jul 21, 2023
While running an accessibility test on a project using this package we found the following error: `aria-label attribute is not well supported on a div with no valid role attribute`.

You could simply add a `role="navigation"` to the div, but changing the `div` to `nav` will do that and be more semantically correct.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants