mirror of
https://github.com/openclaw/openclaw.ai.git
synced 2026-07-15 12:25:40 -04:00
[PR #18] [MERGED] a11y: resolve testimonial keyboard trap and implement skip logic #22
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/openclaw/openclaw.ai/pull/18
Author: @wilfriedladenhauf
Created: 1/27/2026
Status: ✅ Merged
Merged: 1/27/2026
Merged by: @thewilloftheshadow
Base:
main← Head:a11y/fix-testimonial-keyboard-trap-a11y-utility-classes📝 Commits (3)
8593776a11y: resolve testimonial keyboard trap and implement skip logicdfe4232fix: keep testimonials clickable11d2d8ffix: keep testimonials clickable (#18) (thanks @wilfriedladenhauf)📊 Changes
2 files changed (+44 additions, -2 deletions)
View changed files
📝
CHANGELOG.md(+4 -0)📝
src/pages/index.astro(+40 -2)📄 Description
🛠️ Accessibility Improvements: Resolving the "Keyboard Toll"
📋 Overview
This PR addresses a significant accessibility (a11y) issue in the Testimonials section. Previously, keyboard and screen-reader users were forced to tab through 50+ individual testimonial links before reaching the "Quick Start" section.
🚀 Key Changes
Added the inert attribute to the .testimonials-track.
Benefit: This completely removes the scrolling marquee from the focus order. Keyboard users now skip the "toll" and move directly to installation instructions.
Enhanced "View all" Context
Updated the /shoutouts link to include a visually hidden descriptive label.
Added A11y Utility Classes
Introduced a standard .sr-only class to the stylesheet.
System-Level Motion Support
Added a prefers-reduced-motion media query.
Benefit: Respects users with vestibular/motion sensitivities by instantly disabling starfield, nebula, and marquee animations based on their OS settings.
Implemented custom :focus-visible logic using the project's --cyan-bright variable.
more contrast / higher visibiliy on focus style:
.sr-onlyutility for screen-reader-only contextinerton.testimonials-trackto prevent redundant keyboard tabbingfocus-visiblestyles to provide clear visual indicators for keyboard usersprefers-reduced-motionmedia query to respect system-level motion preferences🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.