You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Accessibility (Storybook a11y / Chromatic):
- Accent text used --primary (#d4007f), which fails WCAG AA on the dark
surfaces (3.87:1). Switch text usages to --primary-emphasis (the design
system's on-surface accent — magenta-400 on dark), leaving bg/border accents
alone. Fixes SectionTabs, ApiMethod/ParamRow, SupportMatrix, MobileNav,
TableOfContents, Sidebar, StatStrip, AiActions.
- --subtle-foreground was neutral-500 (#737373) in dark, failing AA for the
small mono micro-labels; step it up to neutral-400 (light unchanged).
- MobileNav's Sheet drawer (role=dialog) had no accessible name -> add aria-label.
Copilot review:
- ai-actions: swallow clipboard writeText rejection (matches CopyButton).
- stat-strip: emit <dt> before <dd> for valid <dl> markup; order-* preserves
the value-on-top layout.
Story/test class assertions updated to the -emphasis token to match.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments