Code RoomDeploy status color-only indicator
MediumPrep Room Coding #4450

Deploy status color-only indicator

Vibe & agenticAlgorithms & data structuresMid–Senior~14 min

An AI assistant generated this status indicator for a deploy pipeline. The PR screenshot looks polished. Identify the accessibility problems and explain who can't use this as built.

Implement
audit_status_indicator(foreground_hex: str, background_hex: str, visible_text: str, aria_role: str) → list[str]
Examples
in["#9be89b","#ffffff","Passing",""]out["low-contrast","not-announced"]
in["#1b5e20","#ffffff","Passing","status"]out[]
in["#f5a3a3","#ffffff","","status"]out["color-only","low-contrast"]
What a strong answer looks like

Treat the AI’s output as a draft to verify, not an answer to trust. Name the specific flaw and the input that triggers it, say how you’d catch it (tests, edge cases, reading critically), and how you’d re-prompt or decompose to get it right.

0:00 of about 14 min

Vibe & agentic: describe the solution in plain language (or narrate it) and the coach grades your approach.

Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.