Replies: 3 comments 3 replies
-
It'd be preferable to just add those tags, as they improve user experience for users w disabilities or using screen readers |
Beta Was this translation helpful? Give feedback.
-
I have the same warning, but I have no idea of that elements is that error referring to. How do you know? |
Beta Was this translation helpful? Give feedback.
-
Accessibility Issue Resolution
This solution intercepts accessibility-related warnings and suppresses them, ensuring they are not displayed in the console during application execution. In my case, using Vite, it's important to add this code to the main file to ensure that accessibility warnings do not interfere with development and end-user experience. I hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Hi
I am using this NextUI library and Tailwind in a project and am relatively happy with it after many years of using Semantic-React-UI. I have noticed in the developer console I am now getting loads of warnings.----
"An aria-label or aria-labelledby prop is required for accessibility." I don't need to use this. Is there anyway to switch this off as it clutters the console a lot. I can go through every interactive element in my code and add -- for example-- 'aria-label="computer"' and then I don't get the warning... but what a waste of time...
BTW, I understand what Aria is .. Thanks
Beta Was this translation helpful? Give feedback.
All reactions