Difference between revisions of "Anchor with no href"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
<html> | <html> | ||
+ | <head> | ||
<script> | <script> | ||
function check() { | function check() { | ||
Line 8: | Line 9: | ||
} | } | ||
</script> | </script> | ||
+ | </head> | ||
+ | <body> | ||
<a onclick="window.location = 'http://www.google.com';" tabindex="0" onKeyup="check();"> Our site </a> | <a onclick="window.location = 'http://www.google.com';" tabindex="0" onKeyup="check();"> Our site </a> | ||
+ | </body> | ||
</html> | </html> |
Revision as of 19:39, 3 May 2018
Anchor with no href but with onclick and tabindex but no role.