{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "miqdadbadjuber-anti-slop--check-ui-for-contrast-focus-and-mobile-reflow",
 "repo": "miqdadbadjuber/anti-slop",
 "repo_url": "https://github.com/miqdadbadjuber/anti-slop",
 "repo_slug": "miqdadbadjuber-anti-slop",
 "title": "Check a UI for contrast, focus, and mobile layout",
 "page_title": "How to check a UI for contrast, focus, and mobile layout with Anti Slop",
 "summary": "Use the accessibility and responsive skills to review a UI before release.",
 "who": "A developer preparing a UI for release who needs a check on contrast, keyboard focus, and layout across screen widths.",
 "problem": "AI-built UI often fails contrast ratios, hides focus states, and breaks or overflows on narrow screens.",
 "outcome": "A PASS/FAIL report covering contrast, keyboard focus, states, reflow, breakpoints, and tap targets.",
 "steps": [
  "Run `npx antislop-ai` and select the antislop-human and antislop-layoutmobile skills.",
  "Start a new agent session in the project folder, so the skills load.",
  "Ask the agent to review the UI against both skills and list each finding by number.",
  "Fix the FAILs it reports, then ask for a new Delivery Gate report.",
  "Test the UI yourself at a narrow screen width and with the keyboard before release."
 ],
 "agent_prompt": "Review the UI in <project-folder> against the antislop-human and antislop-layoutmobile skills from the anti-slop repo (https://github.com/miqdadbadjuber/anti-slop). Return a numbered list of contrast, focus, and overflow findings with the Delivery Gate report. Verify that each contrast finding names the ratio it measured.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The README describes these skills as rule checks, so they do not replace manual testing with real assistive technology or real devices.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "javascript",
 "requirements": [
  "An AI coding agent that antislop supports, such as Claude Code, Codex, Cursor, or Gemini CLI",
  "A terminal to run the installer command (npx antislop-ai)",
  "A project folder for the agent to work in",
  "Optional: a DESIGN.md file that gives the visual direction, since antislop filters and does not supply direction"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/miqdadbadjuber-anti-slop/check-ui-for-contrast-focus-and-mobile-reflow/",
 "md": "https://dedupedai.com/use-cases/miqdadbadjuber-anti-slop/check-ui-for-contrast-focus-and-mobile-reflow/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/miqdadbadjuber-anti-slop--check-ui-for-contrast-focus-and-mobile-reflow.json",
 "api_version": "v1"
}
