Skip to content
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

[Bug]: sp-table default role should be table not grid #4955

Open
1 task done
carolframpton opened this issue Nov 25, 2024 · 0 comments
Open
1 task done

[Bug]: sp-table default role should be table not grid #4955

carolframpton opened this issue Nov 25, 2024 · 0 comments
Labels
bug Something isn't working needs jira ticket triage An issue needing triage

Comments

@carolframpton
Copy link

Code of conduct

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

Impacted component(s)

sp-table

Expected behavior

Given the default role for sp-table is role="grid" I expect the component to support the keyboard navigation associated with the grid role.

ref: https://www.w3.org/WAI/ARIA/apg/patterns/grid/ see Keyboard Interaction For Data Grids section

Per @jnurthen, the default role should be table.

Actual behavior

Navigation between sortable column headers and cell which contain inputs is with tabs.

Yes, I can manually set role=table.

Screenshots

No response

What browsers are you seeing the problem in?

Chrome

How can we reproduce this issue?

  1. Go to (https://opensource.adobe.com/spectrum-web-components/storybook/index.html?path=/story/table-virtualized--virtualized)
  2. Click on storybook header and tab until you get to the first column header, tab to the 2nd column header. Left arrow to go back to the first column header.

Sample code or abstract reproduction which illustrates the problem

https://opensource.adobe.com/spectrum-web-components/storybook/index.html?path=/story/table-virtualized--virtualized

Severity

None

Logs taken while reproducing problem

No response

@carolframpton carolframpton added bug Something isn't working needs jira ticket triage An issue needing triage labels Nov 25, 2024
@carolframpton carolframpton changed the title [Bug]: [Bug]: sp-table default role should be table not grid Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs jira ticket triage An issue needing triage
Projects
None yet
Development

No branches or pull requests

1 participant