Skip to content

How to skip keyboard focus of hidden responsive menu? #3102

Closed Answered by saadeghi
jaimeiniesta asked this question in Q&A
Discussion options

You must be logged in to vote

You can use JS to add inert attribute to sidebar when the drawer checkbox is unchecked.
Unfortunately we can't do that in CSS and the inert attribute is something should be added/removed using JS.

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inert

Let me know if you have any questions

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jaimeiniesta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants