github / github/task-lists-element

Provide alternative for reordering items without dragging with mouse

Đang mở
#24 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
152
Fork
24
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.