he href attribute is required for an anchor to be keyboard accessible

JavaScript
<a href="javascript:void(0)">link</a>
Source

Also in JavaScript: