mirror of https://github.com/sveltejs/svelte
do not run a11y validation on child component elements (#1110)
parent
8057884cb6
commit
49135161bc
@ -0,0 +1,9 @@
|
|||||||
|
<Widget scope="foo">
|
||||||
|
<input autofocus>
|
||||||
|
</Widget>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
components: { Widget },
|
||||||
|
};
|
||||||
|
</script>
|
@ -0,0 +1,10 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"message": "A11y: Avoid using autofocus",
|
||||||
|
"loc": {
|
||||||
|
"column": 8,
|
||||||
|
"line": 2
|
||||||
|
},
|
||||||
|
"pos": 29
|
||||||
|
}
|
||||||
|
]
|
Loading…
Reference in new issue