Description
In our headers example, visible focus while navigating with the keyboard is not visible for dropdown toggles. This is the last element in the following .gif:
This PR suggests making the rule removing the outline more specific to let the focus state be handled normally.
Motivation & Context
Accessibility
Type of changes
-
Bug fix (non-breaking change which fixes an issue)
Checklist
-
I have read the contributing guidelines -
My code follows the code style of the project (using npm run lint
) -
My change introduces changes to the documentation -
I have updated the documentation accordingly - (N/A) I have added tests to cover my changes
-
All new and existing tests passed