Please comment to claim before starting; check current assignees and linked PRs.
Context
#20829 asked that a pressed button tell assistive technology it is pressed. PR #20833 (merged 2026-11-12) did that for Neo.button.Base, and kept the tab headers on aria-selected. The effect-based button, Neo.button.Effect, was not in #20829's scope and still has the gap. This was found while triaging PR #21015, which carries a fix for it.
The Problem
Assistive technology announces a toggle built on Neo.button.Effect as a plain button: its pressed state never reaches it. pressed_ defaults to false, so a plain Effect button and an unpressed toggle cannot be told apart. That is why Neo.button.Base moved its default to null.
The Architectural Reality
src/button/Effect.mjs:
pressed_: false (:107).
getVdomCls() toggles the pressed class (:215).
getVdomConfig() (:227) builds the root VDOM from the configs and writes no aria-*.
src/tab/header/EffectButton.mjs (Neo.tab.header.EffectButton, role="tab") extends it. It takes super.getVdomConfig() and sets aria-selected from pressed. ARIA does not allow aria-pressed on role="tab", so whatever the base adds, this subclass must not carry it (#20829's ledger row for the tab headers).
Design authority: #20829's premise, and the Contract Ledger that #20833 shipped for Neo.button.Base. null marks a plain button. A Boolean marks a toggle and renders aria-pressed.
The Fix
Neo.button.Effect:
pressed_ defaults to null.
getVdomCls() toggles pressed for pressed === true.
getVdomConfig() renders aria-pressed as String(pressed) for a Boolean and leaves it out for null.
- The VDOM derives from the configs in one effect, so the class and the attribute change in the same update.
Neo.tab.header.EffectButton#getVdomConfig(): removes aria-pressed beside setting aria-selected.
Acceptance Criteria
Out of Scope
Neo.button.Base, Neo.tab.header.Button and the grid search toolbar: done in #20833.
aria-expanded on menu buttons, and toggle groups (as in #20829).
Avoided Traps
aria-pressed on every Effect button: it announces plain buttons as toggles.
- Letting
Neo.tab.header.EffectButton inherit the attribute: a tab's state is its selection.
Related
#20829 · PR #20833 · PR #21015
Live latest-open + closed sweep:
- 2026-11-15T08:4xZ: read the latest 20 open (51 open, red band; no owning accessibility epic), a closed search ("aria-pressed Effect button") and an open search ("aria-pressed").
- Read #20829's Out of Scope, Avoided Traps and Contract Ledger: its scope was
Neo.button.Base and the tab headers.
- No equivalent or prior exclusion found.
Other sweeps:
- A2A: the last 30 messages, all read states; no claim on this scope.
- MC: "effect-based button toggle never exposes aria-pressed to assistive technology", 5 results. #20833's Round 2 fixed
aria-selected on EffectTabButton; there is no decision on aria-pressed for Neo.button.Effect.
- Own assignments: none touch buttons.
handoff: @Kasa-Harendra. PR #21015 already carries Neo.button.Effect's part of this fix; rebased onto dev and scoped to this ticket, it resolves it. Otherwise the ticket is ready for a contributor, and maintainers provide planning and review.
Origin Session ID: f3494588-0161-428f-9c25-55e8148b5de9
Retrieval Hint: "Effect button aria-pressed toggle semantics tab header aria-selected"
🖖 Grace (Claude Opus 5.5, Claude Code)
Please comment to claim before starting; check current assignees and linked PRs.
Context
#20829 asked that a pressed button tell assistive technology it is pressed. PR #20833 (merged 2026-11-12) did that for
Neo.button.Base, and kept the tab headers onaria-selected. The effect-based button,Neo.button.Effect, was not in #20829's scope and still has the gap. This was found while triaging PR #21015, which carries a fix for it.The Problem
Assistive technology announces a toggle built on
Neo.button.Effectas a plain button: its pressed state never reaches it.pressed_defaults tofalse, so a plain Effect button and an unpressed toggle cannot be told apart. That is whyNeo.button.Basemoved its default tonull.The Architectural Reality
src/button/Effect.mjs:pressed_: false(:107).getVdomCls()toggles thepressedclass (:215).getVdomConfig()(:227) builds the root VDOM from the configs and writes noaria-*.src/tab/header/EffectButton.mjs(Neo.tab.header.EffectButton,role="tab") extends it. It takessuper.getVdomConfig()and setsaria-selectedfrompressed. ARIA does not allowaria-pressedonrole="tab", so whatever the base adds, this subclass must not carry it (#20829's ledger row for the tab headers).Design authority:#20829's premise, and the Contract Ledger that #20833 shipped forNeo.button.Base.nullmarks a plain button. A Boolean marks a toggle and rendersaria-pressed.The Fix
Neo.button.Effect:pressed_defaults tonull.getVdomCls()togglespressedforpressed === true.getVdomConfig()rendersaria-pressedasString(pressed)for a Boolean and leaves it out fornull.Neo.tab.header.EffectButton#getVdomConfig(): removesaria-pressedbeside settingaria-selected.Acceptance Criteria
Neo.button.Effectwithoutpressedrenders noaria-pressed.pressed: falserendersaria-pressed="false"andpressed: truerenders"true", and a change ofpressedupdates the class and the attribute together (unit).Neo.tab.header.EffectButtonrendersaria-selectedand noaria-pressed, pressed or not (unit).Out of Scope
Neo.button.Base,Neo.tab.header.Buttonand the grid search toolbar: done in #20833.aria-expandedon menu buttons, and toggle groups (as in #20829).Avoided Traps
aria-pressedon every Effect button: it announces plain buttons as toggles.Neo.tab.header.EffectButtoninherit the attribute: a tab's state is its selection.Related
#20829 · PR #20833 · PR #21015
Live latest-open + closed sweep:
Neo.button.Baseand the tab headers.Other sweeps:
aria-selectedonEffectTabButton; there is no decision onaria-pressedforNeo.button.Effect.handoff: @Kasa-Harendra. PR #21015 already carries
Neo.button.Effect's part of this fix; rebased ontodevand scoped to this ticket, it resolves it. Otherwise the ticket is ready for a contributor, and maintainers provide planning and review.Origin Session ID: f3494588-0161-428f-9c25-55e8148b5de9 Retrieval Hint: "Effect button aria-pressed toggle semantics tab header aria-selected"
🖖 Grace (Claude Opus 5.5, Claude Code)