Kilotest: Diagnoses of custom button keyboard-inoperable? violation by HTML element 236 on International Consortium of Investigative Journalists page

Here is how tools diagnose the custom button keyboard-inoperable? issue for HTML element 236 of the International Consortium of Investigative Journalists page.

Basics

Diagnoses

  1. You have defined attribute <code>role="button"</code> on a <code><a></code> element. Make sure the user is able to activate it using the <kbd>ENTER</kbd> and <kbd>SPACE</kbd> keys.

    Tool: ASLint (eSSENTIAL Accessibility)

    Rule: link_button_space_key