[DataTable] OverflowMenu doesn't have keyboard accessible styles
See original GitHub issueDetailed description
When using an OverflowMenu
component inside of a DataTable
as highlighted here, the keyboard actions of the OverflowMenu
do not work.
Once the menu is open, the user is not able to use their arrow keys to select an OverflowMenuItem
option as one would be able to in an OverflowMenu
that is not inside of a DataTable
because there are no visual indicators of which option is currently active.
It is expected that a user would be able to make a selection inside of an OveflowMenu
in a DataTable
just using their keyboard.
What version of the Carbon Design System are you using? Version 10
Steps to reproduce the issue
- Go to sandbox https://codesandbox.io/s/carbon-react-datatable-overflowmenu-a11y-bug-c92rz
- Using the keyboard only, open any overflow menu on the table
- Use arrow keys to attempt to select an action
- Notice that there are no visual indicators of which action is active to be selected
Additional information
Keyboard usage of standalone OverflowMenu
Keyboard usage of OverflowMenu
inside of a DataTable
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Accessibility of column visibility button and menu - DataTables
Menu container has the appropriate "menu" role. * Keyboard focus returns to the column visibility button when closing menu with Esc key.
Read more >Make table row or cell be read by a table as clickable
Hi i'm working on a table that i want to improve it's accesibility, but the thing is that it was created with the...
Read more >Accessibility – Carbon Design System
Add styling to tabbable elements on hover and focus, so that keyboard-only users can have a clear visual of where they are navigating....
Read more >Tables | Introduction to Accessibility - A11y-101
Our simple table is a <table> with some rows ( <tr> ) and some cells ( <td> ) in them. Each table we're...
Read more >Data Tables - Lightning Design System
To initialize a data table, apply the slds-table class to the table ... The first non-actionable (meaning that doesn't contain a checkbox or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Adding the
data-floating-menu-primary-focus
attribute to the DOM node works! It appears that it is not applied to the menu in theDataTable
by default then.As there’s been no activity since this issue was marked as stale, we are auto-closing it.