Skip to content

fix(a11y): restore keyboard focus visibility on navbar menu items#1444

Closed
KRUSHAL2956 wants to merge 1 commit into
SAPTARSHI-coder:mainfrom
KRUSHAL2956:fix/1433-navbar-focus-indicator
Closed

fix(a11y): restore keyboard focus visibility on navbar menu items#1444
KRUSHAL2956 wants to merge 1 commit into
SAPTARSHI-coder:mainfrom
KRUSHAL2956:fix/1433-navbar-focus-indicator

Conversation

@KRUSHAL2956
Copy link
Copy Markdown
Contributor

Pull Request Description

Removes outline: none on :focus-visible for navbar items and adds a visible custom focus outline using --ease-color-primary.


Type of Change

  • 🐛 Bug fix in an existing submission (Accessibility Fix)

Submission Checklist

  • One feature/bugfix per PR
  • Build, lint, and tests pass successfully
  • Output bundle contains all required styles

Notes for Maintainer

This PR resolves issue #1433 by ensuring that keyboard users can visually locate focus state on navbar menu items, complying with WCAG 2.1 Success Criterion 2.4.7 (Focus Visible).

Closes #1433

@KRUSHAL2956
Copy link
Copy Markdown
Contributor Author

@SAPTARSHI-coder please review this merge request. This PR restores keyboard focus outline visibility on navbar items, resolving a WCAG 2.1 AA focus-visible accessibility violation.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2026

📊 CSS Bundle Size Benchmark

This PR changes the size of easemotion.min.css.

Metric Base Branch This PR Difference
Raw 47.43 KB 47.57 KB 📈 +0.14 KB
Gzip 8.34 KB 8.35 KB 📈 +0.01 KB
Brotli 7.13 KB 7.15 KB 📈 +0.02 KB

@SAPTARSHI-coder SAPTARSHI-coder added accepted Contribution approved for integration into EaseMotion CSS animation Animation effects, hover interactions, motion ideas, transitions component New UI components (buttons, cards, modals, tooltips, badges) enhancement New feature or request good first issue Good for newcomers GSSoC-26 Official GSSoC 2026 issue gssoc:approved Approved for GSSoC contributions integrated Successfully merged and included in the framework level:intermediate Requires moderate project understanding type:feature New functionality or enhancement labels Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted Contribution approved for integration into EaseMotion CSS animation Animation effects, hover interactions, motion ideas, transitions component New UI components (buttons, cards, modals, tooltips, badges) enhancement New feature or request good first issue Good for newcomers gssoc:approved Approved for GSSoC contributions GSSoC-26 Official GSSoC 2026 issue integrated Successfully merged and included in the framework level:intermediate Requires moderate project understanding type:feature New functionality or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

♿ Accessibility: Keyboard Focus Indicator Hidden on Navbar Menu Items

2 participants