---
title: "Exploring the challenges in creating an accessible sortable list (drag-and-drop)"
description: "Building a keyboard-, screen-reader- and voice-control-accessible sortable list surfaced several non-obvious pitfalls, each with a concrete fix. role='application' is applied only to the drag trigger and only while dragging, so arrow keys can be reassigned without breaking screen reader navigation."
url: "https://swe.quest/articles/exploring-the-challenges-in-creating-an-accessible-sortable-list-drag-and-drop-94e021953e35b2e4"
canonical: "https://github.blog/engineering/user-experience/exploring-the-challenges-in-creating-an-accessible-sortable-list-drag-and-drop/"
source: "GitHub Engineering"
published: "2024-07-09"
difficulty: "medium"
kind: "Case study"
reading_minutes: 7
tags: ["accessibility","frontend","browsers"]
---

# Exploring the challenges in creating an accessible sortable list (drag-and-drop)

A post on [GitHub Engineering](https://swe.quest/sources/github.md), published 2024-07-09, 7 min read, Case study. Original: [https://github.blog/engineering/user-experience/exploring-the-challenges-in-creating-an-accessible-sortable-list-drag-and-drop/](https://github.blog/engineering/user-experience/exploring-the-challenges-in-creating-an-accessible-sortable-list-drag-and-drop/)

## Summary

Building a keyboard-, screen-reader- and voice-control-accessible sortable list surfaced several non-obvious pitfalls, each with a concrete fix. role='application' is applied only to the drag trigger and only while dragging, so arrow keys can be reassigned without breaking screen reader navigation. Keyboard and mouse handling are split across a visible icon button and an invisible overlay because NVDA simulates mouse events on Enter/Space. Position announcements use a 100ms debounce with assertive aria-live to stop stale updates during rapid moves, and a form-based move dialog sidesteps voice control's scroll-and-drop problem; several non-voice-control users ended up preferring that dialog too.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Accessibility](https://swe.quest/tags/accessibility.md) (Web & mobile)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)
- [Browsers](https://swe.quest/tags/browsers.md) (Web & mobile)

## Prerequisites

- ARIA roles and live regions
- DOM event handling
- screen reader basics

## Keywords

NVDA, aria-live, role=application, Primer, GitHub

## Related posts

- [Considerations for making a tree view component accessible](https://swe.quest/articles/considerations-for-making-a-tree-view-component-accessible-d55d10f05de5e995.md): GitHub Engineering · 2025-01-28 · Medium · 10 min read · Accessibility, Frontend, Design systems
  GitHub's accessible file tree models Windows File Explorer's tree view behavior, since that is what many desktop screen reader users already know.
- [Accessibility considerations behind code search and code view](https://swe.quest/articles/accessibility-considerations-behind-code-search-and-code-view-4501ed426b29574e.md): GitHub Engineering · 2023-07-06 · Medium · 10 min read · Accessibility, Frontend, Browsers, Design systems
  GitHub rebuilt code search and code view to remove accessibility barriers that pushed screen reader users toward raw files.
- [Android VPAT journey](https://swe.quest/articles/android-vpat-journey-439f8202d752a0b0.md): Slack Engineering · 2025-11-19 · Medium · 9 min read · Accessibility, Mobile, Design systems
  After a third-party VPAT audit following its IA4 redesign, Slack's Android team triaged recurring accessibility issues and fixed most of them: TalkBack now announces errors from OutlinedTextField and SKBanner, list headings are marked, and a custom SKListAccessibilityDelegate overrides CollectionInfo so decorative dividers aren't counted as list items.
- [A conversation with Figma's accessibility team](https://swe.quest/articles/a-conversation-with-figma-s-accessibility-team-4d7c0aee064f1f20.md): Figma · 2022-11-17 · Easy · 9 min read · Accessibility, Frontend
  Figma's accessibility engineers and PM reflect on shipping screen reader support for prototypes and a FigJam beta.
- [Creating an accessible search experience with the QueryBuilder component](https://swe.quest/articles/creating-an-accessible-search-experience-with-the-querybuilder-component-ffcb7d20ca7f5c3b.md): GitHub Engineering · 2022-12-13 · Medium · 9 min read · Accessibility, Frontend, Design systems, Search
  GitHub's QueryBuilder is a combobox-based search input built to stay accessible while supporting per-character styling, suggestions with different actions, and grouped results.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
