Difference between revisions of "Anchor with no href"

From Level Access Web Labs
Jump to navigation Jump to search
Line 5: Line 5:
 
<script>
 
<script>
 
   function check() {
 
   function check() {
     if (event.keyCode == 32 || event.keyCode == 28)  
+
     if (event.keyCode == 32 || event.keyCode == 13)  
 
       window.location = "http://www.google.com";
 
       window.location = "http://www.google.com";
 
   }
 
   }

Revision as of 19:40, 3 May 2018

Anchor with no href but with onclick and tabindex but no role.

Our site