Skip to content
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

Closed
SarahEdding opened this issue May 31, 2023 · 4 comments

Comments

@SarahEdding
Copy link
Collaborator

SarahEdding commented May 31, 2023

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

image
focus not visible enough

image
focus with extra padding

image
partially obscured focus box

@linawolf
Copy link
Contributor

linawolf commented Jun 6, 2023

@alexakressmann Please assign me

@alexakressmann
Copy link
Collaborator

QA successful

Code Sprint A11Y Certification automation moved this from In progress to Done Jun 8, 2023
@SarahEdding SarahEdding moved this from Done to To do in Code Sprint A11Y Certification Jun 15, 2023
@benjaminkott
Copy link
Owner

Imagelinks adjusted:
image

Focus not cut off anymore on social icons
image

@benjaminkott benjaminkott reopened this Jun 16, 2023
@benjaminkott benjaminkott moved this from To do to Merge, Deploy & QA in Code Sprint A11Y Certification Jun 16, 2023
@benjaminkott benjaminkott added QA and removed feature labels Jun 16, 2023
@SarahEdding
Copy link
Collaborator Author

fixed for all instances except carousel slides. I've openes a seperate issue for that: #1383

Code Sprint A11Y Certification automation moved this from Merge, Deploy & QA to Done Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

4 participants