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]: SidebarCollapsibleItem shows no keyboard focus and hides its expand chevron until hover #1306
Tabbing to a SidebarCollapsibleItem, focus lands on its 16 by 16 expand trigger, but nothing on screen shows it, light and dark.
The trigger is an EmptyButton, which sets outline: none and has no :focus-visible style
The chevron is visibility: hidden and only :hover on the header shows it (Collapsible.module.css lines 5 to 16), so with a keyboard there's no ring and no chevron, nothing says focus is there or that the row expands
Expected: a visible focus ring on the trigger (WCAG 2.4.7 Focus Visible), and some way to see the row expands without a mouse.
The ring looks like the same kind of fix as #1291. EmptyButton is also the base of CrossButton, the close button in Dialog and Flyout, so a fix there would reach those too, I haven't checked those yet. The hover only chevron looks intentional from #413 and #424, so that part is a design question. #1189 and #1190 add aria-expanded and a name, which covers screen readers but not the visual side.
Activity