-
Notifications
You must be signed in to change notification settings - Fork 76
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
[Table] Add a non-keyboard-navigable mode to Table #8659
Comments
This would be great! Run into this a few times where we use calcite table, and people were confused about why the cells could be focused / interacted with |
…#8686) **Related Issue:** #8659 ## Summary - Adds an `interactionMode` property with `static` and `interactive` (default) values to Table to allow the table to be used without cell + header focus. - When set, prevents keyboard navigation with arrow / home / page keys. - Still allows focus and tab / shift tab for `interactionMode` selection affordances in cell + header. - Still allows tab to / shift tab to reach focusable content - Prevent focus of "unused" `interactionMode` footer cell in `static` mode. - Adds test to check that only interactionMode cells + header are focused in `static` mode. - Does not change the default behavior.
Installed and assigned for verification. |
The component now bypasses keyboard navigation, but during the PR review when JAWS and NVDA were active both tables and content were still accessible via keyboard. During verification observed both JAWS and NVDA can no longer access the content via this codepen in |
…8754) **Related Issue:** #8659 ## Summary Follow up items cc @geospatialem
Installed and assigned for verification. |
Verified in |
…#8686) **Related Issue:** #8659 ## Summary - Adds an `interactionMode` property with `static` and `interactive` (default) values to Table to allow the table to be used without cell + header focus. - When set, prevents keyboard navigation with arrow / home / page keys. - Still allows focus and tab / shift tab for `interactionMode` selection affordances in cell + header. - Still allows tab to / shift tab to reach focusable content - Prevent focus of "unused" `interactionMode` footer cell in `static` mode. - Adds test to check that only interactionMode cells + header are focused in `static` mode. - Does not change the default behavior.
…8754) **Related Issue:** #8659 ## Summary Follow up items cc @geospatialem
Check existing issues
Description
Currently, the Table component supports navigation and focus of Table Cell with arrow keys. This is useful, but not all the time - and will be more useful when we add built-in editable table cells and other datagrid functionality.
Acceptance Criteria
Adds a new
interactionMode
property (or other name) that defaults to the current behavior, but supports a "none" mode that allows the Table to render without focusable Table Cell or keyboard navigation other than default browser behavior between areas like selection, pagination, etc.Relevant Info
Focusable content within Table Cell should not be impacted - these will still be keyboard navigable as expected. cc @geospatialem
Which Component
Table, Table child components
Example Use Case
This will allow for more "static table" use cases where the datagrid-navigation keyboard method could be unexpected.
Priority impact
p2 - want for current milestone
Calcite package
Esri team
Calcite (design)
The text was updated successfully, but these errors were encountered: