Repository navigation
a11y: expose Satus settings controls semantically - #4332
imparable2022 wants to merge 1 commit into
Conversation
|
Strong scope discipline (no behavior changes, accessibility is additive) and the scope-of-future-PRs callout is helpful for reviewers. Two notes on the implementation:
if (root && root.document && typeof module === 'undefined') api.install();That means any test, dev snippet, or future popup that imports this file for any reason — even just to inspect
The semantic-enhancement functions themselves are solid — |
|
thank you so much! @imparable2022 @wahajahmed010 why add |
63b3a7d to
a26671c
Compare
|
I addressed the review points: installation is now explicit at the popup and side-panel load sites, |
Summary
Improve keyboard and screen-reader semantics in the ImprovedTube settings UI without changing existing settings behavior or storage.
This adds an accessibility compatibility layer for the Satus-rendered menu and loads it from the popup and side-panel UI.
What changes
role="switch", keyboard activation andaria-checkedMutationObserverScope
This PR intentionally does not change layer-entry focus, dialog behavior, YouTube-page injected controls, locale selection, translations, or feature behavior. Those are split into follow-up PRs so each decision can be reviewed independently.
Validation
The complete accessibility series was manually tested in Chromium with NVDA using the unpacked extension. Existing Satus rendering and storage keys are preserved.