-
Notifications
You must be signed in to change notification settings - Fork 11
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
[CIVIC-1244] Added a11y fixes for mobile menu. #1149
Conversation
79ebb85
to
0d09979
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alan-cole
Thank you so much for working on this.
There are 2 nitpicks and 1 major question. Could you please address all of them. thank you
web/themes/contrib/civictheme/civictheme_library/components/00-base/flyout/flyout.js
Outdated
Show resolved
Hide resolved
...victheme/civictheme_library/components/03-organisms/mobile-navigation/mobile-navigation.scss
Outdated
Show resolved
Hide resolved
...victheme/civictheme_library/components/03-organisms/mobile-navigation/mobile-navigation.twig
Outdated
Show resolved
Hide resolved
Changes: - Updated use of 'links' component to 'buttons'. Links without href are not treated as interactive by the browser. - Updated button styles to remove the default background color. - Provide a consistent color for the focus ring. - Added focus onto first link (after animation duration) when opening a flyout. - Added focus on open trigger when closing a flyout. - Added focus on first found trigger when closing all flyouts.
- CSS styling to follow conventions. - Flyout focus to be an optional feature.
10d32fe
to
5f2726b
Compare
cfab098
to
82e3b02
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alan-cole
Thank you for your contribution! This is solid work!
https://salsadigital.atlassian.net/browse/CIVIC-1244
Checklist before requesting a review
[CS-123] Verb in past tense with dot at the end.
Changed
section about WHY something was done if this was not a normal implementationChanges:
Screenshots
CIVIC-1244.mp4