mirror of https://github.com/sveltejs/svelte
parent
55c809624d
commit
c623b33ea3
@ -0,0 +1,5 @@
|
||||
<label>A</label>
|
||||
<label for="id">B</label>
|
||||
|
||||
<label>C <input type="text" /></label>
|
||||
<label>D <span></span></label>
|
@ -0,0 +1,32 @@
|
||||
[
|
||||
{
|
||||
"code": "a11y-label-has-associated-control",
|
||||
"end": {
|
||||
"character": 16,
|
||||
"column": 16,
|
||||
"line": 1
|
||||
},
|
||||
"message": "A11y: A form label must be associated with a control.",
|
||||
"pos": 0,
|
||||
"start": {
|
||||
"character": 0,
|
||||
"column": 0,
|
||||
"line": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"code": "a11y-label-has-associated-control",
|
||||
"end": {
|
||||
"character": 113,
|
||||
"column": 30,
|
||||
"line": 5
|
||||
},
|
||||
"message": "A11y: A form label must be associated with a control.",
|
||||
"pos": 83,
|
||||
"start": {
|
||||
"character": 83,
|
||||
"column": 0,
|
||||
"line": 5
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Reference in new issue