github / github/task-lists-element

Provide alternative for reordering items without dragging with mouse

Ouverte
#24 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
152
Forks
24
Merge moyen
1 j 4 h
PR mergées (30 j)
6

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

No file or test is named in the issue. Start by locating the task-list drag-and-drop and item-reordering entry points, then review how keyboard focus and checkbox activation work. Done means keyboard-only and assistive-technology users can reorder items without dragging, while SPACE still supports checkbox interaction.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
typescript
Domaine
accessibility, frontend
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.