-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
change requestIssue requests a new feature or improvementIssue requests a new feature or improvementresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
Description
Context
No response
Bug description
The color palette toggle looks like a button, and sighted keyboard users would expect to activate it using the Enter or Space keys. However, the toggle is not responding to those keys. Underneath, this is implemented as a set of radio buttons and is operated using the arrow keys. This is not evident to sighted keyboard users, who might think the "button" is not working.
Related links
Reproduction
9.5.16-color-palette-keyboard-operation.zip
Steps to reproduce
- Install Material for MkDocs, create a site with the minimal configuration, set the color palette toggle, serve Material for MkDocs, point your browser to localhost:8000.
- Use the Tab key to set the keyboard focus indicator on the color palette toggle.
- Hit Enter or Space to activate it.
Browser
No response
Before submitting
- I have read and followed the bug reporting guidelines.
- I have attached links to the documentation, and possibly related issues and discussions.
- I assure that I have removed all customizations before submitting this bug report.
- I have attached a .zip file with a minimal reproduction using the built-in info plugin.
Metadata
Metadata
Assignees
Labels
change requestIssue requests a new feature or improvementIssue requests a new feature or improvementresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open