Skip to content

Fix: Improve keyboard navigation for Accessibility Ready compliance - #686

Merged
arielk merged 2 commits into
mainfrom
tweak/key-nav-a11y
Aug 24, 2026
Merged

Fix: Improve keyboard navigation for Accessibility Ready compliance#686
arielk merged 2 commits into
mainfrom
tweak/key-nav-a11y

Conversation

@KingYes

@KingYes KingYes commented Aug 24, 2026

Copy link
Copy Markdown
Member

✨ PR Description

1. Problem & Context

Improving keyboard accessibility for WCAG 2.1 AA compliance. Adds visible focus indicators and fixes keyboard navigation for dropdown menus and mobile nav toggles.

2. What Changed (Where)

  • Settings Header: Refined menu color selectors to target direct children only (removes .site-navigation-dropdown overshoot)
  • Dynamic Header: Added aria-expanded and esc_attr__() to mobile nav toggle button for keyboard state tracking
  • Focus Styles: New _focus.scss with global :focus-visible outline (2px black + 4px white glow) supporting light/dark backgrounds
  • Navigation & Layout: Migrated to logical properties (inset-*), added dropdown positioning fixes, removed focus-only rules from forms, added overflow-x: clip/hidden for full-width alignments

3. How It Works

Mobile menu button now announces expanded state via ARIA. Global focus ring applies to all interactive elements with 3:1 contrast guarantee. Dropdown menus repositioned to logical properties (RTL-compatible), with special handling for bottom-aligned items. Full-width Gutenberg blocks constrained via viewport overflow controls.

4. Risks

Focus ring color (#000 + #fff) assumes sufficient page contrast; test on colorful backgrounds. Dropdown positioning logic (inset-inline-start: auto; inset-inline-end: 0 on last/second-last) may conflict with RTL transforms—verify in RTL context. aria-expanded requires JS to toggle; verify implementation elsewhere.

Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using.
💡 Tip: You can customize your AI Description using Guidelines Learn how

@github-actions

github-actions Bot commented Aug 24, 2026

Copy link
Copy Markdown

Hello Elementor Build

Last updated at: 20260824.1559
Version: 3.4.9

✅ Hello Elementor build is ready for download.

You can download the latest build from the link below:

🔗 hello-elementor.3.4.9.zip

The build is available for 7 days.

@arielk
arielk merged commit 5551304 into main Aug 24, 2026
45 checks passed
@arielk
arielk deleted the tweak/key-nav-a11y branch August 24, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants