github / github/task-lists-element
Provide alternative for reordering items without dragging with mouse
- 主要語言
- TypeScript
- 星號
- 152
- 分支
- 24
- 平均合併
- 1 天 4 小時
- 30 天內合併 PR
- 6
描述
Currently there is no keyboard accessible alternative for reordering the task items which prevents assistive technology/ keyboard-only users from accessing the feature.
A number of implementations I've seen like [this example from salesforce-ux][1] enable user to press `SPACE` to move an item around with arrow keys and `SPACE` to place an item. Something to keep in mind for this element is making sure to not interrupt checking of checkbox (which can also be done `SPACE`).
Other references:
[Upcoming WCAG change 2.5.7 Dragging Movements (AA)](https://www.w3.org/WAI/standards-guidelines/wcag/new-in-22/#257-dragging-movements-aa)
[4 major patterns for accessible drag and drop](https://medium.com/salesforce-ux/4-major-patterns-for-accessible-drag-and-drop-1d43f64ebf09)
[1]: https://salesforce-ux.github.io/dnd-a11y-patterns/#/sortB?_k=1lp55f
貢獻指南
研究方向
issue 中沒有指定檔案或測試。先找出工作清單拖放和項目重新排序的進入點,接著檢查鍵盤焦點和核取方塊啟用的運作方式。當僅使用鍵盤的使用者和輔助技術使用者可以不必拖曳就重新排序項目,同時 SPACE 仍支援核取方塊互動時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- typescript
- 領域
- accessibility, frontend
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100