You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The visible keyboard focus indicator is not necessary for mouse-only or touch-only users. We should show it only when we are sure mouse or touch is being used. We also need to be aware of multi-input scenarios, where user might open menu with a mouse click then reach for keyboard to change menu item selection (in this case we would need to make the indicator visible).
Note: we still need to move focus onto the first item (for screen reader purposes), we are just hiding the outline/indicator.
Related
If we are okay with not supporting IE & Safari, we could go with a pure CSS approach.
Feature Request
Description
The visible keyboard focus indicator is not necessary for mouse-only or touch-only users. We should show it only when we are sure mouse or touch is being used. We also need to be aware of multi-input scenarios, where user might open menu with a mouse click then reach for keyboard to change menu item selection (in this case we would need to make the indicator visible).
Note: we still need to move focus onto the first item (for screen reader purposes), we are just hiding the outline/indicator.
Related
If we are okay with not supporting IE & Safari, we could go with a pure CSS approach.
Context
If we find a successful approach, we can apply it to other components
Screenshots
Example of menu button opening with keyboard visible on first item.
The text was updated successfully, but these errors were encountered: