primefaces / community

Community Forum
0 stars 0 forks source link

DataTable: Arial-label issues #1286

Open xaxoxavi opened 4 months ago

xaxoxavi commented 4 months ago

Discussed in https://github.com/orgs/primefaces/discussions/1240

Originally posted by **xaxoxavi** February 20, 2024 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: Same issue resolved in [primereact](https://github.com/primefaces/primereact/issues/3263) (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) ![image](https://github.com/primefaces/community/assets/17217367/75167801-55c7-4eca-b39f-0330cf03d050) (2) ![image](https://github.com/primefaces/community/assets/17217367/e6cbb8ac-b1b4-4d50-b8ae-92f804006900) (3.1) ![image](https://github.com/primefaces/community/assets/17217367/655083ba-94fd-45d3-ae05-cfdac0ec4da1) (3.2) ![image](https://github.com/primefaces/community/assets/17217367/38acdd2d-d1bb-4145-baf4-fe01ad68c8a3)