add tabindex and aria-hidden (#22699)

This commit is contained in:
viggy 2026-05-06 00:21:58 -07:00 committed by GitHub
parent 74d6248f71
commit 07eaf919ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 547 additions and 543 deletions

File diff suppressed because it is too large Load diff

View file

@ -29,7 +29,11 @@
}
}}
>
<Popover.Trigger class="pointer-events-none absolute inset-0 opacity-0">
<Popover.Trigger
class="pointer-events-none absolute inset-0 opacity-0"
tabindex={-1}
aria-hidden="true"
>
<span class="sr-only">{srLabel}</span>
</Popover.Trigger>