-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow aria-label to be passed for navigation components #1934
Allow aria-label to be passed for navigation components #1934
Comments
@benjamincanac Hello, I just noticed that this is not working for UTabs since there a button is used instead of a Link component. Shall I open another issue or can we re-open this one? |
@Quasarman The Tabs component does not support links, you might want to use the |
Yeah i know that, yet if I use the UTabs component with icons only i have an accessibility issue because i am unable to set an aria-label for the button elements the UTabs component renderes. Would be nice if it is possible to also set the aria-label. Or should I open another issue for this? |
Oh sorry I got that wrong. Here you go: 3cf19ea |
Nice, thanks! |
Description
Currently it does not seem to be possible to pass the
aria-label
property to navigation components like UTabs, UHorizontalNavigation, UVerticalNavigation,...This leades to accessibility issues (running lighthouse) when only using icons for these components i.e. in a mobile navigation bar.
If the
aria-label
can be passed this issue would be resolved.Additional context
No response
The text was updated successfully, but these errors were encountered: