The account menu's identity block and theme strip are valid menu children, and its name is readable (#745) #747
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/account-menu-aria"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #745, found by the journeys harness's axe gate on its first day (#726).
role="menu"region.Menunow renders itsheadslot as a sibling before the element carryingrole="menu"(a new inner.menu__panel), andAccountMenupasses the disc, name and pronouns ashead. Amenumay own only menu items, groups and separators.role="group"of threemenuitemradiobuttons (aria-checked), drawn with the segmented strip's own classes so nothing changes on screen. Left/Right/Home/End move within the strip; Up/Down still belong to the menu, which treats the strip as one stop (generic inMenu, keyed on a nestedrole="group", so any future consumer gets it)..menusetscolor: var(--ink): it sits inside.appbar, which setscolor: var(--chrome-ink)for the dark chrome, and the name and pronouns inherited it at 1.14:1 on white.src/shell/AppFrame.jsx: the two literal NUL bytes in the search cache key are|now, so git and grep stop treating the file as binary.One deliberate visual delta: the identity block's vertical padding moves from
--sp-4to the shared.menu__head's--sp-3, since it now sits in that box rather than carrying its own.Tests: 1,158 green (new: the block outside the menu role; the group and its radios; Right moves focus without picking; Down leaves the strip for Sign out). Lint clean. The harness's
a11y-baseline.js(#746) drops its twoBUGentries once both are on main.🤖 Generated with Claude Code