github / github/annotation-toolkit

[Feature request] Add "or" separator option for keyboard shortcut combos

未关闭
#23 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
improvement set:user-interactions
主要语言
没有语言数据
星标
320
派生
33
平均合并
36 分钟
30 天内合并 PR
2

描述

### Description

Keyboard shortcut combo components currently only support + as a separator (e.g., Ctrl + C). Some keyboard interactions require an or separator to communicate alternative key combinations (e.g., Home **or** Fn + Left Arrow).

### Requested change

Add an option to use **or** (in addition to the existing **+**) when building keyboard shortcut combos.

### Considerations

There's a point where these keyboard shortcut components become over-engineered, and we may already be there. Let's try to implement this in a simple way if possible. As it is, we should simplify what's already implemented, per:
- https://github.com/github/annotation-toolkit/issues/24

贡献指南

打开贡献指南

调研方向

首先定位此 issue 中描述的键盘快捷键组合组件,并查看 issue #24 中关于简化的讨论。当一个简单选项能够为替代键组合支持现有的“+”分隔符或“or”分隔符,且不会引入不必要的复杂性时,工作就完成了。

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

评估

领域
accessibility, design
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

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