mirror of https://github.com/sveltejs/svelte
a11y: do not warn about <a name> / <a id> (#4739)
parent
4ac2ea3cef
commit
07242f994c
@ -1,4 +1,8 @@
|
|||||||
<a>not actually a link</a>
|
<a>not actually a link</a>
|
||||||
<a href=''>invalid</a>
|
<a href=''>invalid</a>
|
||||||
<a href='#'>invalid</a>
|
<a href='#'>invalid</a>
|
||||||
<a href="javascript:void(0)">invalid</a>
|
<a href='javascript:void(0)'>invalid</a>
|
||||||
|
<a name=''>invalid</a>
|
||||||
|
<a id=''>invalid</a>
|
||||||
|
<a name='fragment'>valid</a>
|
||||||
|
<a id='fragment'>valid</a>
|
Loading…
Reference in new issue