-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
A11y Code Sprint Berlin: Success Criterion 9.2.4.7 - style easily perceivable focus states for all interactive elements #1305
Comments
@alexakressmann Please assign me |
linawolf
added a commit
to linawolf/bootstrap_package
that referenced
this issue
Jun 7, 2023
8 tasks
linawolf
added a commit
to linawolf/bootstrap_package
that referenced
this issue
Jun 7, 2023
QA successful |
fixed for all instances except carousel slides. I've openes a seperate issue for that: #1383 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Request
Description
For keyboard navigation, the position of keyboard focus must be visible and easily distinguishable on any interactive element.
Browsers make focus visible by default, but on dark background or linked images focus is not visible enough. Also, some elements have a costum style focus that does not meet minimum contrast requirements (form fields, buttons, button-stlye links, icon links in footer, etc.).
Solution
Provide one consistend styling for all focusable elements; a double border in black and white, 2px each, is useful, because its visible on all backgrounds.
Where necessary, make sure the focus border does not interfere with readability of link text.
In some cases, a gap is needed between the border and the element itself (see screenshots)
However, the border should not be obscured by other elements, as is currently the case with icon links in the footer.
context, links and screenshots
focus not visible enough
focus with extra padding
partially obscured focus box
The text was updated successfully, but these errors were encountered: