Contribution guidelines
I've found a bug and checked that ...
Description
There are a number of sub-optimal implementations for accessibility, and some misuse of ARIA roles, particularly around navigation (e.g. sidebar) and search.
This causes some major difficulties for keyboard navigation.
Whilst #4006 touches on a few issues, I'd like to build this into a Meta issue to document the existing issue, the challenges they cause and potential directions to ensure improved accessibility.
To that effect, I'll be slowly adding as I go, so this is a WIP bug report.
Expected behaviour
Ability to navigate, use and interact with menu (on narrow screen), search and operate interactive components using keyboard and assistive technology.
Actual behaviour
- Unable to "toggle" sidebar menu using keyboard.
- On Safari, focus order goes back to beginning after focus is on search "dialog" making it impossible to tab through rest of page (wide and narrow screens).
Steps to reproduce
Use keyboard to tab through page elements.
Package versions
- Python:
python --version
- MkDocs:
mkdocs --version
- Material:
pip show mkdocs-material | grep -E ^Version
Configuration
site_name: Material for MkDocs
site_url: https://squidfunk.github.io/mkdocs-material/
System information
- Operating system: macOS
- Browser: Safari/Firefox
Contribution guidelines
I've found a bug and checked that ...
mkdocsorreadthedocsthemescustom_dir,extra_javascriptandextra_cssDescription
There are a number of sub-optimal implementations for accessibility, and some misuse of ARIA roles, particularly around navigation (e.g. sidebar) and search.
This causes some major difficulties for keyboard navigation.
Whilst #4006 touches on a few issues, I'd like to build this into a Meta issue to document the existing issue, the challenges they cause and potential directions to ensure improved accessibility.
To that effect, I'll be slowly adding as I go, so this is a WIP bug report.
Expected behaviour
Ability to navigate, use and interact with menu (on narrow screen), search and operate interactive components using keyboard and assistive technology.
Actual behaviour
Steps to reproduce
Use keyboard to tab through page elements.
Package versions
python --versionmkdocs --versionpip show mkdocs-material | grep -E ^VersionConfiguration
System information