mirror of https://github.com/sveltejs/svelte
a11y: warn about href="javascript:..." (#4733)
parent
8c4e72647a
commit
56d1af493b
@ -1,3 +1,4 @@
|
|||||||
<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>
|
Loading…
Reference in new issue