Output Schema
{
"example": {
"limitations": [
"Scripts are disabled and external resources (images, web fonts, CSS @import) are not loaded, so pages that build their colours with JavaScript are judged by their static CSS.",
"The background is the stack of boxes under the start of each text; gradients, background images, text shadows, blend modes and filters are not judged exactly.",
"Contrast is a measurable WCAG criterion, not a full accessibility audit."
],
"result": {
"blocked_requests": 0,
"dark": {
"failures": 1,
"failures_only_in_dark": 1,
"lowest_ratio": 1.51,
"on_background_image": 0,
"text_elements": 3
},
"dark_mode": {
"applied": true,
"canvas_dark": "#ffffff",
"canvas_light": "#ffffff",
"elements_changed": 3,
"signals": {
"color_scheme_property": "normal",
"light_dark_function": 0,
"meta_color_scheme": null,
"prefers_color_scheme_rules": 1,
"stylesheets": 1
}
},
"disabled_elements_skipped": 0,
"issues": [
{
"background": "#121212",
"background_image": false,
"bold": false,
"color": "#1a0dab",
"font_size_px": 16,
"height": 17,
"large_text": false,
"light_ratio": 9.4,
"only_in_dark": true,
"passes": false,
"ratio": 1.51,
"required": 4.5,
"selector": "body > p > a",
"text": "Read the FAQ",
"width": 91,
"x": 146,
"y": 80
}
],
"level": "AA",
"light": {
"failures": 0,
"on_background_image": 0,
"text_elements": 3
},
"renderer": "Chrome headless (sandboxed), JavaScript disabled, network blocked",
"source": {
"bytes": 267,
"type": "html"
},
"truncated": false,
"verdict": "contrast_issues"
},
"service": "dark-mode-check",
"status": "success"
},
"type": "json"
}