Files
jobtrackingapp/docs/ui-modernisation/visual-correction/evidence/settings-flat/PILOT-contrast-failure.json
T

124 lines
3.7 KiB
JSON

{
"screens": [
{
"width": 320,
"language": "en",
"mode": "light",
"state": "general",
"violations": []
},
{
"width": 320,
"language": "en",
"mode": "light",
"state": "automation",
"violations": []
},
{
"width": 320,
"language": "en",
"mode": "light",
"state": "follow-ups",
"violations": []
},
{
"width": 320,
"language": "en",
"mode": "light",
"state": "notifications",
"violations": []
},
{
"width": 320,
"language": "en",
"mode": "light",
"state": "data",
"violations": []
},
{
"width": 320,
"language": "en",
"mode": "light",
"state": "ai-controls",
"violations": []
},
{
"width": 320,
"language": "en",
"mode": "light",
"state": "quick-capture",
"violations": [
{
"id": "color-contrast",
"impact": "serious",
"tags": [
"cat.color",
"wcag2aa",
"wcag143",
"TTv5",
"TT13.c",
"EN-301-549",
"EN-9.1.4.3",
"ACT",
"RGAAv4",
"RGAA-3.2.1"
],
"description": "Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",
"help": "Elements must meet minimum color contrast ratio thresholds",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.13/color-contrast?application=playwright",
"nodes": [
{
"any": [
{
"id": "color-contrast",
"data": {
"fgColor": "#ffffff",
"bgColor": "#0288d1",
"contrastRatio": 3.85,
"fontSize": "10.5pt (14px)",
"fontWeight": "normal",
"messageKey": null,
"expectedContrastRatio": "4.5:1"
},
"relatedNodes": [
{
"html": "<div class=\"MuiPaper-root MuiPap...\" role=\"alert\" direction=\"up\" style=\"--Paper-shadow: none...\">",
"target": [
".MuiPaper-rounded"
]
}
],
"impact": "serious",
"message": "Element has insufficient color contrast of 3.85 (foreground color: #ffffff, background color: #0288d1, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1"
}
],
"all": [],
"none": [],
"impact": "serious",
"html": "<div class=\"MuiAlert-message css-127h8j3\">Drag me to your bookmarks bar</div>",
"target": [
".MuiAlert-message"
],
"failureSummary": "Fix any of the following:\n Element has insufficient color contrast of 3.85 (foreground color: #ffffff, background color: #0288d1, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1"
}
]
}
]
}
],
"journeys": [],
"errors": [],
"unexpectedWrites": [],
"writes": [],
"proposals": [],
"unavailableReads": [
"/api/companies"
],
"blockedExternal": [
"https://fonts.googleapis.com"
],
"limits": [
"All API, AI and preview results are synthetic fixtures. No model activation, semantic translation quality, backend end-to-end or physical PDF qualification.",
"No native device, screen reader, provider, integrated security, deployment or release acceptance."
]
}