Accessible UX and Product Design · · 8 min read

Focus Not Obscured: Fixing Sticky Headers, Banners, and Dialog Layers

Keyboard users must be able to see which control has focus even when sticky navigation, cookie banners, or floating chat overlap the page.

Written by Mahak Patel

Why Focus Not Obscured Matters Now

Keyboard users must be able to see which control has focus even when sticky navigation, cookie banners, or floating chat overlap the page.

For Focus Not Obscured, the useful response is not to chase a trend label. It is to identify the reader's decision, connect it to current evidence, and define what responsible progress would look like before choosing a tool or tactic.

Start With the Decision, Not the Tool

Tab through every state at multiple sizes, reserve offset space, manage dialog focus, and ensure overlays do not cover the active control.

Before investing in Focus Not Obscured, write the current journey in plain language, including who owns each step, what information enters it, where people become uncertain, and which outcome would be meaningfully better. That record prevents a polished solution from hiding an unclear problem.

A Practical Playbook for Focus Not Obscured

Turn the approach into a bounded pilot: tab through every state at multiple sizes, reserve offset space, manage dialog focus, and ensure overlays do not cover the active control.

Keep the first implementation reversible, document assumptions, include accessibility and privacy in acceptance criteria, and schedule a review. A small, well-observed pilot produces better learning than a broad launch with no reliable baseline.

Risks, Failure Modes, and Guardrails

A visible focus ring does not help when the entire focused element sits underneath another layer.

For Focus Not Obscured, name the failure owner and recovery route before launch. Use the least data and permission necessary, make uncertainty visible, preserve a human path for consequential cases, and stop or narrow the work when evidence shows that the risk exceeds the benefit.

A Canada and GTA Lens

Test compact mobile layouts common in transit and one-handed use, including 320 by 568 CSS pixels.

Local relevance in Focus Not Obscured should come from a real audience, operating constraint, source, example, or service decision. Repeating Canada, Toronto, Brampton, and Mississauga without that connection weakens the article and the reader's trust rather than building authority.

Measure, Learn, and Improve

Count obscured-focus defects, trapped states, successful task completion, viewport-specific regressions, and keyboard support reports.

Review Focus Not Obscured on a fixed cadence and pair quantitative signals with user or staff feedback. Keep what improves the intended task, correct what causes friction, update date-sensitive evidence, and retire work that no longer earns its maintenance cost.

Explore more

Reference links