Approved catalog listing
SKILL #1980
skillshunter.net
Home / Software & Development / Ensure Focused Elements Are Not Obscured by Sticky UI
Listing Approved Approved on: November 23, 2026

Ensure Focused Elements Are Not Obscured by Sticky UI

Verify that keyboard users can see focused elements even when sticky UI components like headers, footers, or banners are active. This includes testing with cookie banners, chat widgets, and consent bars open, and re-testing at zoomed and mobile layouts.

Rate this skill

No ratings yet

Editor's Note

Use `scroll-padding` or equivalent spacing when fixed headers or footers are present. Test with all sticky UI active, including cookie banners, chat widgets, and consent bars. Re-test at zoomed and mobile layouts where overlap problems usually appear.

When to Use It

  • Testing focus visibility on pages with sticky headers or footers
  • Auditing keyboard navigation with active cookie banners or chat widgets
  • Verifying focus behavior on mobile and zoomed layouts

SKILL.md

SkillsHunter provides this listing for informational purposes only. Review the skill’s source, license, and required permissions before use. You are responsible for deciding whether to install or run it. Terms of Use

↓ Download .md
---
name: focus-not-obscured
description: "Use when reviewing sticky navigation, consent banners, chat widgets, skip links, or any fixed-position UI. Validate the actual tab order and viewport behavior at realistic zoom levels."
metadata:
  category: accessibility
  priority: high
  difficulty: intermediate
  estimatedTime: "20"
  source: frontendchecklist.io
  url: https://frontendchecklist.io/rules/accessibility/focus-not-obscured
---

# Keep focused elements unobscured

A visible focus ring is not enough if the focused element sits behind a sticky header or footer. Keyboard users need to see the actual focused control and the focus indicator at the same time in order to continue the task.

## Quick Reference

- Sticky UI must not cover the focused control while keyboard users tab through the page
- Use `scroll-padding` or equivalent spacing when fixed headers or footers are present
- Test with cookie banners, chat widgets, and consent bars open
- Re-test at zoomed and mobile layouts where overlap problems usually appear

## Check

Audit keyboard focus with all sticky UI active. Check headers, footers, cookie banners, promo bars, and chat launchers for cases where the focused element scrolls underneath them.

## Fix

Add layout spacing such as scroll-padding, reduce overlay height, or change focus/scroll behavior so the focused element remains visible when tabbing.

## Explain

Explain WCAG Focus Not Obscured, why fixed-position UI commonly breaks it, and how scroll-padding and overlay layout choices prevent the issue.

## Code Review

Review sticky layout, focus styles, overlays, and keyboard navigation related to Keep focused elements unobscured. Flag exact selectors, breakpoints, or UI states where focused controls can be covered.

---

For full implementation details, code examples, and framework-specific guidance,
see `references/rule.md`.

Rule page: https://frontendchecklist.io/rules/accessibility/focus-not-obscured

Community Reviews & Field Notes

Tried this skill on your own project? Share the model you used and the results you got.

Add Your Review

Approved reviews appear publicly with the name or role you enter. See the Privacy Notice.