fix(a11y): replace aria-pressed with aria-expanded on menu-trigger buttons\n\nCo-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

This commit is contained in:
Lotus Bot
2026-05-21 13:06:40 -04:00
parent abd90ab980
commit 2909aebb1f
3 changed files with 8 additions and 4 deletions
+4 -2
View File
@@ -233,7 +233,8 @@ function ThirdPartyProtocolsSelector({
>
<Chip
onClick={handleOpenMenu}
aria-pressed={!!menuAnchor}
aria-expanded={!!menuAnchor}
aria-haspopup="menu"
radii="Pill"
size="400"
variant={instanceId ? 'Success' : 'SurfaceVariant'}
@@ -328,7 +329,8 @@ function LimitButton({ limit, onLimitChange }: LimitButtonProps) {
>
<Chip
onClick={handleOpenMenu}
aria-pressed={!!menuAnchor}
aria-expanded={!!menuAnchor}
aria-haspopup="menu"
radii="Pill"
size="400"
variant="SurfaceVariant"