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
A menu trigger nested one button inside another. The wrapper carried role="button" and a tabindex of its own while the trigger slot normally
holds a real button — a screen reader announced two nested controls and the
keyboard landed on one or the other. The wrapper now steps aside when the
slot already holds a control, handing its aria-haspopup, aria-expanded
and aria-controls to it; when the slot holds something inert — a plain
avatar, say — the wrapper stays the button, so the menu is still reachable
from the keyboard.