mirror of https://github.com/sveltejs/svelte
parent
7fdae5f8a8
commit
01ff04024e
@ -0,0 +1,18 @@
|
|||||||
|
<div />
|
||||||
|
<span />
|
||||||
|
<span>No emoji here!</span>
|
||||||
|
<span role="img" aria-label="Panda face">🐼</span>
|
||||||
|
<span role="img" aria-label="Snowman">☃</span>
|
||||||
|
<span role="img" aria-labelledby="id1">🐼</span>
|
||||||
|
<span role="img" aria-labelledby="id1">☃</span>
|
||||||
|
<span role="img" aria-labelledby="id1" aria-label="Snowman">☃</span>
|
||||||
|
<span aria-hidden="true">🐼</span>
|
||||||
|
<span aria-hidden>🐼</span>
|
||||||
|
<div aria-hidden="true">🐼</div>
|
||||||
|
|
||||||
|
<span>🐼</span>
|
||||||
|
<span>foo🐼bar</span>
|
||||||
|
<span>foo 🐼 bar</span>
|
||||||
|
<i role="img" aria-label="Panda face">🐼</i>
|
||||||
|
<i role="img" aria-labelledby="id1">🐼</i>
|
||||||
|
<span aria-hidden="false">🐼</span>
|
@ -0,0 +1,92 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"code": "a11y-accessible-emoji",
|
||||||
|
"message": "A11y: Emojis should be wrapped in <span>, have role=\"img\", and have an accessible description with aria-label or aria-labelledby. ",
|
||||||
|
"start": {
|
||||||
|
"line": 13,
|
||||||
|
"column": 0,
|
||||||
|
"character": 424
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"line": 13,
|
||||||
|
"column": 15,
|
||||||
|
"character": 439
|
||||||
|
},
|
||||||
|
"pos": 424
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": "a11y-accessible-emoji",
|
||||||
|
"message": "A11y: Emojis should be wrapped in <span>, have role=\"img\", and have an accessible description with aria-label or aria-labelledby. ",
|
||||||
|
"start": {
|
||||||
|
"line": 14,
|
||||||
|
"column": 0,
|
||||||
|
"character": 440
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"line": 14,
|
||||||
|
"column": 21,
|
||||||
|
"character": 461
|
||||||
|
},
|
||||||
|
"pos": 440
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": "a11y-accessible-emoji",
|
||||||
|
"message": "A11y: Emojis should be wrapped in <span>, have role=\"img\", and have an accessible description with aria-label or aria-labelledby. ",
|
||||||
|
"start": {
|
||||||
|
"line": 15,
|
||||||
|
"column": 0,
|
||||||
|
"character": 462
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"line": 15,
|
||||||
|
"column": 23,
|
||||||
|
"character": 485
|
||||||
|
},
|
||||||
|
"pos": 462
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": "a11y-accessible-emoji",
|
||||||
|
"message": "A11y: Emojis should be wrapped in <span>, have role=\"img\", and have an accessible description with aria-label or aria-labelledby. ",
|
||||||
|
"start": {
|
||||||
|
"line": 16,
|
||||||
|
"column": 0,
|
||||||
|
"character": 486
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"line": 16,
|
||||||
|
"column": 44,
|
||||||
|
"character": 530
|
||||||
|
},
|
||||||
|
"pos": 486
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": "a11y-accessible-emoji",
|
||||||
|
"message": "A11y: Emojis should be wrapped in <span>, have role=\"img\", and have an accessible description with aria-label or aria-labelledby. ",
|
||||||
|
"start": {
|
||||||
|
"line": 17,
|
||||||
|
"column": 0,
|
||||||
|
"character": 531
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"line": 17,
|
||||||
|
"column": 42,
|
||||||
|
"character": 573
|
||||||
|
},
|
||||||
|
"pos": 531
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": "a11y-accessible-emoji",
|
||||||
|
"message": "A11y: Emojis should be wrapped in <span>, have role=\"img\", and have an accessible description with aria-label or aria-labelledby. ",
|
||||||
|
"start": {
|
||||||
|
"line": 18,
|
||||||
|
"column": 0,
|
||||||
|
"character": 574
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"line": 18,
|
||||||
|
"column": 35,
|
||||||
|
"character": 609
|
||||||
|
},
|
||||||
|
"pos": 574
|
||||||
|
}
|
||||||
|
]
|
Loading…
Reference in new issue