Skip to content

Thumbnails can't be reordered on touch, or by keyboard #346

Description

@dmnyc

From the review of #341.

Reordering uses HTML5 drag-and-drop, which does not fire on touch — a touchscreen laptop or tablet cannot reorder attachments at all, and there is no keyboard path either. Desktop-pointer users are fine; everyone on touch silently keeps upload order.

Fix shape (pick one or both):

  • Small ◀/▶ stepper buttons on each thumb when the strip has 2+ items (works for touch and keyboard alike, and is the cheapest accessible reorder there is).
  • Keyboard: make the thumb focusable with arrow-key move handlers (role="listitem", arrow keys with a roving tabindex).

Whatever lands, the drag path stays — this is about the fallback, not a replacement.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions