primereact icon indicating copy to clipboard operation
primereact copied to clipboard

DataTable: Accessibility issues.

Open KubaGorka opened this issue 4 months ago • 0 comments

Describe the bug

The DataTable component fails accessibility requirements (E950, E951 and E8791). An element with role='table' must have an accessible name. Setting name via props doesn't set it correctly. DataTable also fails accessibility E951, because the <th> elements do not have name property

Reproducer

No response

System Information

primereact: 10.9.7

Steps to reproduce the behavior

  1. Go to https://primereact.org/multiselect/
  2. Edit any example via stackblitz by adding prop name
  3. Notice that the it is not set correctly

Expected behavior

Passing name prop should set it on the correct element

KubaGorka avatar Sep 15 '25 12:09 KubaGorka