← Back to directory

Render a page in light and in dark colour scheme (prefers-color-scheme) in headl...

https://bild.halowerk.com/v1/dark-mode-check

Overview

Render a page in light and in dark colour scheme (prefers-color-scheme) in headless Chrome and report whether it has a dark mode, which text fails WCAG contrast in dark mode and what got worse compared with light mode. Renders the HTML (or a fetched page with up to 3 inlined stylesheets) twice in a fresh sandboxed headless Chrome context, scripts disabled and all network requests blocked: once with prefers-color-scheme: light and once with dark.

Protocol x402 (POST)
Price $0.0060
Payment Asset USD Coin
Payment Network Base
Category uncategorized
Provider bild
Source bazaar
Indexed 2026-11-16 12:08:10

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "html": "<!doctype html><html><head><style>body{background:#fff;color:#222}@media (prefers-color-scheme:dark){body{background:#121212;color:#e0e0e0}a{color:#1a0dab}}</style></head><body><h1>Pricing</h1><p>Plans start at 5 EUR. <a href=\"#faq\">Read the FAQ</a></p></body></html>" }, "bodyType": "json", "method": "POST", "type": "http" }

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" }