This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
Material-sidenav tab order and focus needs to be handled #330
Labels
a11y
This issue is related to accessibility
To be accessible,
material-sidenav
needs to hook into transition events to hide and show the component withdisplay: none
after animating. This will remove interactive controls from the tab order when they are not in use, which is easier and more performant than changing thetabIndex
of every interactive child element.In addition, focus should be sent into the sidenav when it opens, directing the user's attention to new content on screen. This helps a desktop keyboard user with a smaller screen, as well as a mobile screen reader user. The pattern is very similar to
material-dialog
.The text was updated successfully, but these errors were encountered: