Accessibility for injected surfaces: context menu, toast, media viewer
Facebook Messenger on your desktop, without the Facebook clutter
Brought to you by:
kristoffer-r
Originally created by: kristofferR
The Settings window's a11y is genuinely good (ARIA tablist, roving tabindex); the injected surfaces are not:
context-menu.ts) is plain divs — no role="menu", no keyboard navigation, no Escape-to-close (only click/scroll dismiss). It's also hard-coded dark (background: "#242526") even in forced-light theme (theming half overlaps [#58]).aria-live.Small, contained fixes. Ref [#58].
Originally posted by: kristofferR
Fixed in [#137]. The injected context menu now has full keyboard navigation and focus restoration (to a real focusable target, and Tab keeps focus on the restore target), the toast is an accessible live region, and the media viewer restores focus on close.
Related
Tickets:
#137Ticket changed by: kristofferR