Lab

Task list

Slant / Workspace

Aftur's task list: scope tabs with counts, search, grouping by status, and a status menu on every row.

The theme follows the link: share a page with ?theme=moon.

Usage

  • Scope tabs are a tablist over one tabpanel; each group heading is a button with aria-expanded.
  • The status button opens a menu of the moves that status allows. Done and Canceled are final, so they are plain labels.

Keyboard

/focuses the search field
↑ / ↓moves between tasks
← / →switches scope when a tab has focus
Escapeclears the search, or closes a status menu

Accessibility

  • The footer announces the result count and every status change.
  • Status is written beside its mark; the mark is decoration.

Task list in React and SwiftUI.

Source

The React tab is the component’s real source; the SwiftUI tab is its twin in TUTTNKit.