-
Notifications
You must be signed in to change notification settings - Fork 1k
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
DataTable: Aria-label issues #3263
Comments
Not sure what to make the accessibility text for the radio and checkbox? |
In my opinion, accessible names for the radio and checkbox must describe the element we selected thank to it. |
Yep I think I need to add a |
Describe the feature you would like to see added
Some elements (buttons or form elements) generated by the DataTable component do not have an 'aria-label' attribute.
Here is the list of the ones I spotted:
(1) The filter button generated by property filterDisplay='menu
(2) The paginator dropdown menu to select the number of rows to display. This element generates a 'p-hidden-accessible' div with an input element (with role="textbox") in it, but this input has no aria-label attribute. It also generates a 'p-dropdown-trigger' div with the role 'button' and this div has no aria-label attribute
(3) The radio buttons and checkboxes generated in selection mode
(1)
(2)
(3.1)
(3.2)
Is your feature request related to a problem?
No response
Describe the solution you'd like
An 'aria-label' attribute should be added to these elements. We can also consider being able to modify them if we want.
Describe alternatives you have considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: