This repository was archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
radio-button: unable to select a radio button using space key #11960
Copy link
Copy link
Closed
Labels
P2: requiredIssues that must be fixed.Issues that must be fixed.a11yThis issue is related to accessibilityThis issue is related to accessibilityg3: reportedThe issue was reported by an internal or external product team.The issue was reported by an internal or external product team.has: Pull RequestA PR has been created to address this issueA PR has been created to address this issueresolution: fixedtype: bug
Milestone
Description
Bug
Demo and steps to reproduce the issue
This blank StackBlitz demo can be used to create a reproduction that demonstrates your issue.
Demo URL (required)*: https://codepen.io/jiaruigao/pen/VweGJrp?editable=true%3Dhttps%3A%2F%2Fmaterial.angularjs.org%2FHEAD%2Fdemo%2FradioButton
Detailed Reproduction Steps
- Do not pre-select any radio button within a radio group
- Navigate to a radio button using keyboard tab key and then press space key
- Observe the radio button is not selected.
Explain the expected behavior
The radio button is expected to be selected in step 3.
Explain the current behavior
The radio button is not selected.
Discuss the use-case or motivation for changing the existing behavior
https://www.w3.org/TR/wai-aria-practices-1.1/#radiobutton
In the keyboard interaction section, the user should be to check the focused radio button if it is not already checked using space key.
List the affected versions of AngularJS, Material, OS, and browsers
- AngularJS: 1.
- AngularJS Material: 1.
- OS: Mac OS Version 10.15.3
- Browsers: Chrome 81.0.4044.113
It could be reproduced by removing the pre-selection on the doc page.
Add anything else we should know
Stack Trace
Screenshots
Splaktar
Metadata
Metadata
Assignees
Labels
P2: requiredIssues that must be fixed.Issues that must be fixed.a11yThis issue is related to accessibilityThis issue is related to accessibilityg3: reportedThe issue was reported by an internal or external product team.The issue was reported by an internal or external product team.has: Pull RequestA PR has been created to address this issueA PR has been created to address this issueresolution: fixedtype: bug