-
Notifications
You must be signed in to change notification settings - Fork 19
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
Review MOJ Pattern Library against WCAG 2.2 criteria #519
Comments
Components2.4.11 and 2.4.12 Focus Not Obscured
2.4.13 Focus Appearance
2.5.7 Dragging Movements
2.5.8 Target Size
3.2.6 Consistent Help
3.3.7 Redundant Entry
3.3.8 Accessible Authentication
|
My suggestions
|
We discussed the Primary navigation search toggle today, and queried whether the proposed solution would be a backwards step for usability if users didn't expect the auto-closing behaviour. An alternative suggestion was to add an explicit close button, so that users are aware that it is open and closable. We specifically discussed the WCAG wording around user-opened content:
This may be somewhat answered a mitigation suggestion that aligns with our original proposal:
For now, I'll prototype a version that auto-closes for testing and wider feedback. We can specifically inspect the usability concerns and try another approach if they prove to be a blocker. |
To support WCAG's Focus Not Obscured (Minimum) success criterion. When the search toggle loses focus, it auto-closes to ensure that it doesn't obscure any focused content underneath. see #519
To support WCAG's Focus Not Obscured (Minimum) success criterion. When the search toggle loses focus, it auto-closes to ensure that it doesn't obscure any focused content underneath. see #519
To support WCAG's Focus Not Obscured (Minimum) success criterion. When the search toggle loses focus, it auto-closes to ensure that it doesn't obscure any focused content underneath. see #519
# [2.1.0](v2.0.1...v2.1.0) (2024-01-25) ### Features * allow Elements to be used components' config ([372d70b](372d70b)) * **navigation:** enhance hover styles of navigation links ([cd0f9df](cd0f9df)), closes [#447](#447) * **primary-navigation:** auto-hide search toggle when it loses focus ([bedd163](bedd163)), closes [#519](#519)
Fixed in 2.1.0 (via #545) |
Summary
Now that WCAG 2.2 is published, we need to review the components and patterns of the Pattern Library—and the documentation site itself—against the new criteria. We should then fix any issues we find, or offer additional guidance if we identify implementation risks.
New criteria in WCAG 2.2
Based on w3.org
The text was updated successfully, but these errors were encountered: