docs: add note on multiple ignored comments (#12021)

pull/12379/head
Rich Harris 5 months ago committed by GitHub
parent e2a999c06a
commit 84eb0c6dac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -11,6 +11,13 @@ Some warnings may be incorrect in your concrete use case. You can disable such f
<input autofocus />
```
You can list multiple rules in a single comment, and add an explanatory note alongside them:
```svelte
<!-- svelte-ignore a11y-click-events-have-key-events a11y-no-static-element-interactions (because of reasons) -->
<div on:click>...</div>
```
Here is a list of accessibility checks Svelte will do for you.
## `a11y-accesskey`

Loading…
Cancel
Save