Context
Mobile navigation is part of the Learning polish for Engine 14 and the owning epic #20498. The disclosure controls need a name and a state screen readers can announce.
The Problem
On dev 3f01b65ae4, Chromium at 390 × 844 shows the Topics and On this page controls as unnamed buttons. Their aria-expanded attribute is absent before keyboard activation, while open, and after selecting a row. Enter opens each panel and a selection closes it. The visual state changes throughout.
The Architectural Reality
src/app/content/Container.mjs creates the Topics control and src/app/content/SectionsContainer.mjs creates On this page. Both disclosures use the panel’s neo-expanded class for visibility. Portal Learn and News Releases use these classes. Learn closes Topics through article selection and SectionsContainer closes On this page after a section selection.
Design authority: WAI-ARIA disclosure pattern specifies true while visible and false while hidden, with native Enter and Space activation.
The Fix
Name each icon-only button through the existing Button.ariaLabel config. Project the owning panel’s open class to the button’s aria-expanded attribute on its initial render and subsequent class changes. Use the same projection for direct and implicit closure.
Contract Ledger
| Surface |
Authority |
Behavior |
Fallback |
Docs |
Evidence |
| Topics and On this page button names and expanded state |
Shared content panels and the disclosure pattern |
Button names describe their content. aria-expanded tracks visible disclosure state through all existing paths. |
A closed panel announces false. |
WAI-ARIA disclosure pattern |
Chromium accessibility trees plus keyboard and selection checks |
Acceptance Criteria
Out of Scope
Layout redesign and the Learning article-anchor navigation owned by #22027.
Related
Parent #20498. Pre-cut Learning accessibility work.
Live latest-open + closed sweep: checked the newest 20 open issues, open disclosure/Learn and closed aria-expanded/On this page searches on 22 November UTC. The only open search hit was contributor assistance #21025. Engine had 49 open issues, so this leaf belongs under its existing Learning epic.
A2A in-flight sweep: latest 30 messages across both read states showed no overlapping claim.
MC sweep: mobile Learning icon-only disclosure buttons, four results and no governing duplicate. Own-assignment sweep: four open issues, separate scope.
Origin Session ID: 89718df6-dd80-4943-97e7-e33bb634d560
Retrieval Hint: "mobile Learn Topics and On this page unnamed buttons aria-expanded implicit close"
Context
Mobile navigation is part of the Learning polish for Engine 14 and the owning epic #20498. The disclosure controls need a name and a state screen readers can announce.
The Problem
On
dev3f01b65ae4, Chromium at 390 × 844 shows the Topics and On this page controls as unnamed buttons. Theiraria-expandedattribute is absent before keyboard activation, while open, and after selecting a row. Enter opens each panel and a selection closes it. The visual state changes throughout.The Architectural Reality
src/app/content/Container.mjscreates the Topics control andsrc/app/content/SectionsContainer.mjscreates On this page. Both disclosures use the panel’sneo-expandedclass for visibility. Portal Learn and News Releases use these classes. Learn closes Topics through article selection and SectionsContainer closes On this page after a section selection.Design authority: WAI-ARIA disclosure pattern specifies true while visible and false while hidden, with native Enter and Space activation.
The Fix
Name each icon-only button through the existing
Button.ariaLabelconfig. Project the owning panel’s open class to the button’saria-expandedattribute on its initial render and subsequent class changes. Use the same projection for direct and implicit closure.Contract Ledger
aria-expandedtracks visible disclosure state through all existing paths.false.Acceptance Criteria
aria-expandedfalse before opening, true after Enter or Space, and false after closing.Out of Scope
Layout redesign and the Learning article-anchor navigation owned by #22027.
Related
Parent #20498. Pre-cut Learning accessibility work.
Live latest-open + closed sweep: checked the newest 20 open issues, open disclosure/Learn and closed aria-expanded/On this page searches on 22 November UTC. The only open search hit was contributor assistance #21025. Engine had 49 open issues, so this leaf belongs under its existing Learning epic. A2A in-flight sweep: latest 30 messages across both read states showed no overlapping claim. MC sweep: mobile Learning icon-only disclosure buttons, four results and no governing duplicate. Own-assignment sweep: four open issues, separate scope.
Origin Session ID: 89718df6-dd80-4943-97e7-e33bb634d560 Retrieval Hint: "mobile Learn Topics and On this page unnamed buttons aria-expanded implicit close"