spectrum-web-components
spectrum-web-components copied to clipboard
[Bug][a11y]: Virtualized Table should include aria-rowcount attribute
trafficstars
Code of conduct
- [X] I agree to follow this project's code of conduct.
Impacted component(s)
Table
Expected behavior
When a Table is virtualized it should include an aria-rowcount attribute to communicate the number of total rows in the table, otherwise screen readers will announce only the number of rendered rows.
Actual behavior
Virtualized table lacks aria-rowcount attribute, so screen readers will announce only the number of rendered rows rather than the total rows in the table.
Screenshots
No response
What browsers are you seeing the problem in?
No response
How can we reproduce this issue?
- Go to '...'
- Click on '....'
- Scroll to '....'
- Check console
- See error
Sample code that illustrates the problem
No response
Logs taken while reproducing problem
No response