Skip to content

Commit 06dbaf3

Browse files
committed
Label the legacy sidebar options button
The sort/options icon button's only name is its tooltip, which Base UI does not expose as a name. Add aria-label="Sidebar options". Verify: with the legacy sidebar on, VoiceOver reads "Sidebar options, menu button".
1 parent 5cc99e1 commit 06dbaf3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎apps/web/src/components/LegacySidebar.tsx‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2744,7 +2744,11 @@ function ProjectSortMenu({
27442744
<Menu>
27452745
<Tooltip>
27462746
<TooltipTrigger
2747-
render={<MenuTrigger render={<Button size="icon-xs" variant="ghost-muted" />} />}
2747+
render={
2748+
<MenuTrigger
2749+
render={<Button size="icon-xs" variant="ghost-muted" aria-label="Sidebar options" />}
2750+
/>
2751+
}
27482752
>
27492753
<ArrowUpDownIcon className="size-3.5" />
27502754
</TooltipTrigger>

0 commit comments

Comments
 (0)