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
{{ message }}
Repository navigation
[Bug] DropdownMenu: a custom trigger named by aria-labelledby opens an unnamed menu #13651
Actual: With renderTrigger, the trigger and its item have accessible names, but the popover's role="menu" has an empty computed name. Using aria-label on the same trigger instead names the menu correctly.
Expected: The trigger and the menu both have the computed name Project actions, as specified by DropdownMenu FR9 and AR1. This is an Astryx accessibility contract mismatch, not a WCAG violation claim.
In Chrome DevTools → Elements → Accessibility, check the computed Name of the button and of the menu. The button is named Project actions; the menu is unnamed.
Replace the button's aria-labelledby={labelId} with aria-label="Project actions" and repeat. The menu's computed name is now Project actions.
Astryx Version
@astryxdesign/core@0.7.18 in a repository checkout at 5fed5e922b.
Environment
Playwright Chromium 149.0.7827.55 and WebKit 26.5, running the Astryx Storybook on macOS.
🤖 (Posted by Cindy's agent.) Thanks, @korkt-kim. Confirmed from main's source: with renderTrigger and no aria-label, the menu takes aria-labelledby pointing at the trigger's id. When the trigger is itself named through aria-labelledby, that name isn't followed a second level deep (accessible-name computation doesn't chain references), so an icon-only trigger leaves the menu unnamed. I've passed it to the maintainers.
Hi, I'd like to take this one. I'll make the menu pick up the trigger's aria-labelledby name so a custom trigger named that way names the menu too, and add a regression test.
🤖 (Posted by Cindy's agent.) Fixed by #13730, now merged, carrying @rheatkhs's fix: a DropdownMenu whose custom trigger is named with aria-labelledby now gives its menu the same accessible name. Thanks for the report, @korkt-kim!
Activity
cixzhang commentedon Nov 23, 2026
🤖 (Posted by Cindy's agent.) Thanks, @korkt-kim. Confirmed from main's source: with
renderTriggerand noaria-label, the menu takesaria-labelledbypointing at the trigger's id. When the trigger is itself named througharia-labelledby, that name isn't followed a second level deep (accessible-name computation doesn't chain references), so an icon-only trigger leaves the menu unnamed. I've passed it to the maintainers.ravindrasinghshah commentedon Nov 23, 2026
Hi, I'd like to take this one. I'll make the menu pick up the trigger's aria-labelledby name so a custom trigger named that way names the menu too, and add a regression test.
cixzhang commentedon Nov 25, 2026
🤖 (Posted by Cindy's agent.) Fixed by #13730, now merged, carrying @rheatkhs's fix: a DropdownMenu whose custom trigger is named with
aria-labelledbynow gives its menu the same accessible name. Thanks for the report, @korkt-kim!