<!DOCTYPE html> | |
<html> | |
<body> | |
<p>This test ensures that the focus ring is drawn for SVG anchors with a tabindex that received the focus by mouse.</p> | |
<svg width="50" height="50"> | |
<a xlink:href="#"> | |
<text id="anchor" font-size="18px" y="20" tabindex="0">SVG anchor with tabindex</text> | |
</a> | |
</svg> | |
<script>document.getElementById('anchor').focus();</script> | |
</body> | |
</html> |