mirror of https://github.com/sveltejs/svelte
Remove deprecated a11y-no-onchange warning (#6457)
parent
fca6a6d38a
commit
e73f641ca5
@ -1,16 +0,0 @@
|
|||||||
<select on:change={e => {}}>
|
|
||||||
<option>foo</option>
|
|
||||||
<option>bar</option>
|
|
||||||
</select>
|
|
||||||
<select on:change={e => {}} on:blur={e => {}}>
|
|
||||||
<option>foo</option>
|
|
||||||
<option>bar</option>
|
|
||||||
</select>
|
|
||||||
<select>
|
|
||||||
<option on:change={e => {}}>foo</option>
|
|
||||||
<option>bar</option>
|
|
||||||
</select>
|
|
||||||
<select>
|
|
||||||
<option on:change={e => {}} on:blur={e => {}}>foo</option>
|
|
||||||
<option>bar</option>
|
|
||||||
</select>
|
|
@ -1,32 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"code": "a11y-no-onchange",
|
|
||||||
"end": {
|
|
||||||
"character": 88,
|
|
||||||
"column": 9,
|
|
||||||
"line": 4
|
|
||||||
},
|
|
||||||
"message": "A11y: on:blur must be used instead of on:change, unless absolutely necessary and it causes no negative consequences for keyboard only or screen reader users.",
|
|
||||||
"pos": 0,
|
|
||||||
"start": {
|
|
||||||
"character": 0,
|
|
||||||
"column": 0,
|
|
||||||
"line": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"code": "a11y-no-onchange",
|
|
||||||
"end": {
|
|
||||||
"character": 249,
|
|
||||||
"column": 44,
|
|
||||||
"line": 10
|
|
||||||
},
|
|
||||||
"message": "A11y: on:blur must be used instead of on:change, unless absolutely necessary and it causes no negative consequences for keyboard only or screen reader users.",
|
|
||||||
"pos": 209,
|
|
||||||
"start": {
|
|
||||||
"character": 209,
|
|
||||||
"column": 4,
|
|
||||||
"line": 10
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
Loading…
Reference in new issue