angular / angular/components

When a radio button is both checked and disabled tabindex wouldn't step into the radio group at all

未关闭
#20,184 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Accessibility area: material/radio P3
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

#### Reproduction

Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/angular-material-radio-button-demo-wz3p6o?file=app%2Fapp.component.html

Steps to reproduce:
1. Have a radio button which is both checked and disabled
2. try to navigate to radio group through tab


#### Expected Behavior
If checked radio button is also disabled the tab should navigate you to the first enabled radio button (even if is not checked)

#### Actual Behavior
If checked radio button is also disabled radio group is not navigable through keyboard

- Angular:

贡献指南

打开贡献指南

调研方向

从链接的 StackBlitz 复现开始,跟踪单选按钮组在选中且禁用的按钮上的键盘导航行为。完成标准是 Tab 导航能够到达第一个启用的单选按钮,而不是跳过整个组。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, typescript
领域
accessibility, frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
描述清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。