mirror of https://github.com/sveltejs/svelte
parent
e4bb4d6820
commit
a2be133b78
@ -0,0 +1,7 @@
|
|||||||
|
<div role="heading"></div>
|
||||||
|
<span role="checkbox"></span>
|
||||||
|
<div role="meter"></div>
|
||||||
|
|
||||||
|
<div role="heading" aria-level="1"></div>
|
||||||
|
<span role="checkbox" aria-checked="false"></span>
|
||||||
|
<div role="meter" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"></div>
|
||||||
@ -0,0 +1,47 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"code": "a11y-role-has-required-aria-props",
|
||||||
|
"message": "A11y: Elements with the ARIA role \"heading\" must have the following attributes defined: aria-level",
|
||||||
|
"start": {
|
||||||
|
"line": 1,
|
||||||
|
"column": 5,
|
||||||
|
"character": 5
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"line": 1,
|
||||||
|
"column": 19,
|
||||||
|
"character": 19
|
||||||
|
},
|
||||||
|
"pos": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": "a11y-role-has-required-aria-props",
|
||||||
|
"message": "A11y: Elements with the ARIA role \"checkbox\" must have the following attributes defined: aria-checked",
|
||||||
|
"start": {
|
||||||
|
"line": 2,
|
||||||
|
"column": 6,
|
||||||
|
"character": 33
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"line": 2,
|
||||||
|
"column": 21,
|
||||||
|
"character": 48
|
||||||
|
},
|
||||||
|
"pos": 33
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": "a11y-role-has-required-aria-props",
|
||||||
|
"message": "A11y: Elements with the ARIA role \"meter\" must have the following attributes defined: aria-valuemax,aria-valuemin,aria-valuenow",
|
||||||
|
"start": {
|
||||||
|
"line": 3,
|
||||||
|
"column": 5,
|
||||||
|
"character": 62
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"line": 3,
|
||||||
|
"column": 17,
|
||||||
|
"character": 74
|
||||||
|
},
|
||||||
|
"pos": 62
|
||||||
|
}
|
||||||
|
]
|
||||||
Loading…
Reference in new issue