Wizard: arrow keys in the ISO list and the type grid

未关闭 适合新手
#83 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
76/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
electron, react, typescript

调研方向

先阅读 issue #73 中的向导实现,并找到 ISO 列表和 OS 类型网格。检查它们的 listbox/option 和 radiogroup/radio 角色是如何呈现的,然后选择这里描述的行为:使用 roving tabindex 通过方向键移动选择,或者普通按钮使用 aria-pressed。当键盘导航和 Tab 行为符合所选语义时,即为完成。

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

描述

accessibility ui

The wizard (#73) marks the ISO list as role="listbox" with role="option" buttons, and the OS types as role="radiogroup" with role="radio" buttons. Screen readers announce them that way, and with those roles people expect arrow keys to move the selection and Tab to leave the group.

Right now every option is its own Tab stop and arrow keys do nothing. Either add roving tabindex with arrow key handling, or drop the roles and keep them as plain buttons with aria-pressed.

主要语言
TypeScript
星标
3
派生
0
平均合并
2 分钟
30 天内合并 PR
35

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

A21-devs/Virtual-Machine-Manager 的其他 Issue

查看 A21-devs/Virtual-Machine-Manager 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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