spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

[Bug][a11y]: Static Tables can use role="table" and role="cell" instead of role="grid" and role="gridcell"

Open majornista opened this issue 2 years ago • 1 comments
trafficstars

Code of conduct

  • [X] I agree to follow this project's code of conduct.

Impacted component(s)

Table

Expected behavior

The current Table implementation does not support row or column navigation using the arrow keys. As such, without selects or selected attributes, it is essentially a static table and, and role="table" and role="cell" may be preferred over role="grid" and role="gridcell".

Actual behavior

Static Table without selection uses role="grid" and role="gridcell", without supporting navigation of the grid using arrow keys.

Screenshots

No response

What browsers are you seeing the problem in?

No response

How can we reproduce this issue?

  1. Go to '...'
  2. Click on '....'
  3. Scroll to '....'
  4. Check console
  5. See error

Sample code that illustrates the problem

No response

Logs taken while reproducing problem

No response

majornista avatar Jun 29 '23 18:06 majornista

When we change these roles, some of the underlying functionality here needs to change, too.

najikahalsema avatar Oct 26 '23 14:10 najikahalsema