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

Cookie banner WCAG 2.2 compliance #73

Open
mjbp opened this issue Apr 6, 2023 · 0 comments
Open

Cookie banner WCAG 2.2 compliance #73

mjbp opened this issue Apr 6, 2023 · 0 comments

Comments

@mjbp
Copy link
Collaborator

mjbp commented Apr 6, 2023

https://www.w3.org/WAI/WCAG22/Understanding/focus-not-obscured-minimum.html.

At a high level - a focusable element should not be obscured by a fixed element.

"Ways of passing include making the banner modal so the user has to dismiss the banner before navigating through the page, or using scroll padding so the banner does not overlap other content."

Recommend adding scroll-margin-bottom style to focusable elements when the banner is active.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants