-
-
Notifications
You must be signed in to change notification settings - Fork 835
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] Fix nav drawer being focusable when off-screen on small viewports #2666
[A11Y] Fix nav drawer being focusable when off-screen on small viewports #2666
Conversation
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.
Works well, left a few minor code comments
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.
Excellent!
I'm not comfortable enough with combining JS & CSS code for animations (I struggled a lot with Composer open & close animation in my mithril 2 branch) 🙈 If it works and doesn't break other things (which it doesn't look to me like it would), I'm fine with it. |
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.
Looks good to me!
Fixes #2565
Progresses towards completion of #3360
Changes proposed in this pull request:
visibility: hidden
on mobile when the drawer is not open.visibility: visible
as drawer exits.visibility: hidden
once transition is complete.In the GIFs below, keep an eye on the watched variables in the dev console to see the effect of the change.
Before
After
Confirmed