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
@@ -98,7 +98,8 @@ function UsernameHint({ server }: { server: string }) {
size="300"
radii="300"
aria-label="Username format hint"
aria-pressed={!!anchor}
aria-expanded={!!anchor}
aria-haspopup="dialog"
>
<Icon style={{ opacity: config.opacity.P300 }} size="100" src={Icons.Info} />
</IconButton>