fix(a11y): fix remaining unlabeled icon buttons and portaled tooltip issue\n\nCo-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

This commit is contained in:
Lotus Bot
2026-05-21 13:04:11 -04:00
parent 5e740496c9
commit abd90ab980
4 changed files with 8 additions and 5 deletions
@@ -61,7 +61,7 @@ function SidebarBtn<T extends string>({
delay={500}
position="Left"
tooltip={
<Tooltip id={`SidebarStackItem-${id}-label`}>
<Tooltip>
<Text size="T300">{label}</Text>
</Tooltip>
}
@@ -69,7 +69,7 @@ function SidebarBtn<T extends string>({
{(ref) => (
<IconButton
aria-pressed={active}
aria-labelledby={`SidebarStackItem-${id}-label`}
aria-label={label}
ref={ref}
onClick={() => onClick(id)}
size="400"
+3 -1
View File
@@ -351,7 +351,9 @@ export function CallControls({ callEmbed }: CallControlsProps) {
size="400"
onClick={handleOpenMenu}
outlined
aria-pressed={!!cords}
aria-label="More options"
aria-expanded={!!cords}
aria-haspopup="menu"
>
<Icon size="400" src={Icons.VerticalDots} />
</IconButton>
-1
View File
@@ -451,7 +451,6 @@ export function Lobby() {
radii="Pill"
outlined
size="300"
aria-label="Scroll to Top"
>
<Icon src={Icons.ChevronTop} size="300" />
</IconButton>
+3 -1
View File
@@ -244,7 +244,9 @@ export function LobbyHeader({ showProfile, powerLevels }: LobbyHeaderProps) {
fill="None"
onClick={handleOpenMenu}
ref={triggerRef}
aria-pressed={!!menuAnchor}
aria-label="More options"
aria-expanded={!!menuAnchor}
aria-haspopup="menu"
>
<Icon size="400" src={Icons.VerticalDots} filled={!!menuAnchor} />
</IconButton>