Kilotest: Diagnoses of custom button keyboard-inoperable?
violation by HTML element 336 on Metropolitan Transportation Authority page
Basics
About the Metropolitan Transportation Authority page
- URL: https://www.mta.info/
- Tested 30 days ago by job
oyuon 2026-06-20 at 13:49
About HTML element 336
- Tag name:
H2 - Text:
Plan a Trip
- Start tag:
<h2 class="form-title accordion-title"> - XPath:
/html/body/div[1]/div[1]/div[1]/aside[1]/div[1]/section[1]/div[1]/div[1]/div[1]/h2[1] - Bounding box: x = 500, y = 411, width = 280, height = 36
About the custom button keyboard-inoperable?
issue
- Why it matters: Custom item may prevent a keyboard-only user from operating it
- Priority: lowest
- Related WCAG standard: 2.1.1
Diagnoses
Here is how rule engines diagnose the custom button keyboard-inoperable?
issue for HTML element 336 of the Metropolitan Transportation Authority page.
- 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