Kilotest: Diagnoses of text contrast improvable
violation by HTML element 366 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 366
- Tag name:
BUTTON - Text:
Leave now … Change Time
- Start tag:
<button id="link_tp_when" data-toggle="collapse" data-target="#container_tp_when" aria-expanded="false" aria-controls="container_tp_when" aria-label="Change the date and time you leave for your trip" class="edit-main collapsed"> - XPath:
/html/body/div[1]/div[1]/div[1]/aside[1]/div[1]/section[1]/div[1]/div[1]/div[1]/div[1]/button[1] - Bounding box: x = 500, y = 656, width = 280, height = 45
About the text contrast improvable
issue
- Why it matters: Content is not easy to understand
- Priority: lowest
- Related WCAG standard: 1.4.6
Diagnoses
Here is how rule engines diagnose the text contrast improvable
issue for HTML element 366 of the Metropolitan Transportation Authority page.
- Expected color contrast ratio for small font size at least 7:1, but got ratio: 6.36:1, <code>background-color: #0f61a9</code>, <code>foreground-color: #ffffff</code>, <code>font-size: 12pt</code> (original: <code>16px</code>), <code>font-weight: 700</code>.
Tool: ASLint (eSSENTIAL Accessibility)
Rule:
color_contrast_aaa7 - Expected color contrast ratio for small font size at least 7:1, but got ratio: 6.36:1, <code>background-color: #0f61a9</code>, <code>foreground-color: #ffffff</code>, <code>font-size: 12pt</code> (original: <code>16px</code>), <code>font-weight: 400</code>.
Tool: ASLint (eSSENTIAL Accessibility)
Rule:
color_contrast_aaa7 - Elements must meet enhanced color contrast ratio thresholds; Element has insufficient color contrast of 6.35 (foreground color: #ffffff, background color: #0f61a9, font size: 12.0pt (16px), font weight: bold). Expected contrast ratio of 7:1
Tool: Axe (Deque)
Rule:
color-contrast-enhanced - This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 7:1, but text in this element has a contrast ratio of 6.36:1. Recommendation: change background to #085aa2.
Tool: HTML CodeSniffer (Squiz Labs)
Rule:
E-WCAG2AAA.Principle1.Guideline1_4.1_4_6.G17.Fail - [failed] Element has contrast ratio lower than minimum.
Tool: QualWeb (University of Lisbon)
Rule:
QW-ACT-R76