Skip to content

Accessibility fixes for WCAG 2.1 AA - #6

Merged
martamurniece merged 2 commits into
mainfrom
a11y/landing-wcag-fixes
Nov 29, 2026
Merged

martamurniece merged 2 commits into
mainfrom
a11y/landing-wcag-fixes

Conversation

@martamurniece

Copy link
Copy Markdown
Owner

Fixes the WCAG 2.1 AA failures found on coride.org. After these changes axe reports 0 violations on all 6 pages (LV and EN) at 1440 px and 390 px, with and without reduced motion.

Changes

  • Signup form: labels linked to fields, autocomplete (name, email, organization), radio group named, errors announced and tied to the fields in error, focus moves to the first one; success message is focused; the hidden form branch is inert so it can't be tabbed into
  • Main landmark on every page, skip link, and in-page links now move focus to their target
  • Text contrast: footer labels, copyright, supporter label, inactive language option and the employer email note now use text-secondary (6.1:1)
  • Field, checkbox and radio borders at 3:1 (ink-500)
  • Hero demo: map is a group, not an image, so its buttons are exposed; avatar button names start with the visible initials
  • Employers timeline buttons take their name from the visible label
  • Report demo rows grow with user text spacing; counted rows fade to 0.65 instead of 0.45 so their text keeps 4.5:1

Visible changes: darker form field borders, slightly darker small grey texts in the footer and the inactive language option, less faded counted rows in the employers report demo.

Not in this PR: the orange "250" figure on the home page is 2.58:1 on its peach card (large text needs 3:1). Proposed fix is line-orange-600, waiting for a decision.


Generated by Claude Code

- Signup form: labels linked to fields, autocomplete (name, email,
  organization), radio group named, errors announced and tied to the
  fields in error with focus moved to the first one, success message
  focused, hidden form branch made inert so it can't be tabbed into
- Main landmark on every page and a skip link; in-page links now move
  focus to their target
- Text contrast: footer labels, copyright, supporter label, inactive
  language option and the employer email note use text-secondary
- Field, checkbox and radio borders at 3:1 (ink-500)
- Hero demo map is a group, not an image, so its buttons are exposed;
  avatar button names start with the visible initials
- Employers timeline buttons take their name from the visible label
- Report demo ride rows grow with user text spacing; counted rows fade
  to 0.65 so their text keeps 4.5:1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GR57cxbqbLo2sXwhTfxHtP
@vercel

vercel Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
coride-landing Ready Ready Preview Nov 29, 2026 12:09pm UTC

The orange "from" figure on the peach stat card was 2.58:1; large text
needs 3:1. Uses the palette's own line-orange-600.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GR57cxbqbLo2sXwhTfxHtP
@martamurniece
martamurniece merged commit f82f36b into main Nov 29, 2026
2 checks passed

This branch was successfully deployed

1 active deployment
Preview — 464276fa Deployed Nov 29, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants