fix(a11y): ignore false positive a11y warnings (#1522)

Fixes #1517
This commit is contained in:
metonym 2022-10-13 21:37:52 -07:00 committed by GitHub
commit c6373dc9b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 24 additions and 5 deletions

View file

@ -215,6 +215,7 @@
on:mouseenter
on:mouseleave
>
<!-- svelte-ignore a11y-no-noninteractive-tabindex -->
<div
role="{type === 'single' ? 'textbox' : undefined}"
tabindex="{type === 'single' && !disabled ? '0' : undefined}"