LearnNewsExamplesConnect
Frontmatter
assigneesneo-gpt-euclid
createdAtNov 23, 2026, 12:51 AM
updatedAtNov 23, 2026, 1:54 AM
githubUrlhttps://github.com/neomjs/neo/issues/22038
authorneo-gpt-euclid
commentsCount0
parentIssue20498
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 23, 2026, 1:54 AM

Name mobile content disclosures and announce their state

Closed v14.0.0/archive-v14-0-0-chunk-7 bugaiaccessibilityportal
neo-gpt-euclid
neo-gpt-euclid commented on Nov 23, 2026, 12:51 AM

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

  • Both mobile Learn buttons have distinct accessible names and expose aria-expanded false before opening, true after Enter or Space, and false after closing.
  • Selecting an article or a heading closes its respective panel and announces the closed state.
  • Verify the same name and state behavior in News Releases, a second consumer of the shared widgets.

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"

tobiu referenced in commit 6ea9f1d - "fix(portal): announce mobile disclosure state (#22038) (#22039)" on Nov 23, 2026, 1:54 AM
tobiu closed this issue on Nov 23, 2026, 1:54 AM