Skip to content

fix(a11y): resolve focus traps and silent semantics in ListWidget#513

Open
paul-geoghegan wants to merge 1 commit intomainfrom
505-convay-list-widget-selected-items-to-screen-readers
Open

fix(a11y): resolve focus traps and silent semantics in ListWidget#513
paul-geoghegan wants to merge 1 commit intomainfrom
505-convay-list-widget-selected-items-to-screen-readers

Conversation

@paul-geoghegan
Copy link
Contributor

  • Implemented a focus wrapper and anchor node system to safely escort Tab traversal directly to list items, bypassing silent Scrollable background viewports.
  • Clamped initial scroll offset calculations to prevent out-of-bounds focus rejections on initial load when selectedIndex is -1.
  • Added boundary constraints (walls) to the item-level KeyEvent interceptors to prevent arrow-key navigation from dropping focus into the background container at the edges of the list.
  • Preserved original Tab-to-exit scope traversal.

- Implemented a focus wrapper and anchor node system to safely escort Tab traversal directly to list items, bypassing silent Scrollable background viewports.
- Clamped initial scroll offset calculations to prevent out-of-bounds focus rejections on initial load when selectedIndex is -1.
- Added boundary constraints (walls) to the item-level KeyEvent interceptors to prevent arrow-key navigation from dropping focus into the background container at the edges of the list.
- Preserved original Tab-to-exit scope traversal.
@paul-geoghegan paul-geoghegan linked an issue Mar 19, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Convay list widget selected items to screen readers

1 participant