<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
a { color: blue; } | |
</style> | |
</head> | |
<body> | |
<p>This test ensures that the focus ring is drawn for anchors with a tabindex that received the focus by mouse.</p> | |
<p><a id="anchor" tabindex="0" href="#">Anchor with tabindex</a></p> | |
<script>document.getElementById('anchor').focus();</script> | |
</body> | |
</html> |