{
  "id": 14302125,
  "title": "Focus States That Survive a Redesign: A Keyboard-First Checklist",
  "url": "https://urgent.news/2026/10/13/focus-states-that-survive-a-redesign-a-keyboard-first-checklist",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-13T21:56:29.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/raxxostudios/focus-states-that-survive-a-redesign-a-keyboard-first-checklist-jd5"
  },
  "original_language": "en",
  "account": "Designers often inadvertently break focus states during redesigns, causing issues for keyboard users. Six steps can prevent this from happening:\n\n1. Replace :focus with :focus-visible to ensure mouse clicks don't show a focus ring, while keyboard users receive a clear indication.\n2. Verify that the 3:1 contrast ratio is maintained between the outline color and the background, whether it's light, dark, or any other theme. This ensures keyboard users can perceive the focus state.\n3. Test the entire page by pressing Tab without a mouse plugged in to catch any missed focus states.\n4. Run a quick visual refresh check, as design changes often eliminate the focus outline unnoticed.\n5. Swapping component libraries can also break focus states, so always check after such changes.\n6. Apply a 3:1 contrast ratio to the outline color against both themes for maximum visibility.",
  "summary": "Redesigns silently break focus states; I run a 6-point check before every ship Replace :focus with :focus-visible so mouse clicks stay quiet, keyboards stay loud A 3:1 contrast outline against both themes is the bar I hold Tab the whole page once with the mouse unplugged, no exceptions A visual refresh almost always eats the keyboard experience. The design looks cleaner, the colors are nicer, and…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}