One way of doing it is to remove the href element of the link.
In contrast, if a link cannot be reached to while tabbing over a page, adding an
href="javascript:void(0);"would make the link reachable via tabbing. Moreover, if a 'click' event is attached to the link, the element will respond to the Enter key press despite the fact that the 'keyup' (or other key type event) is not attached.
No comments:
Post a Comment