Skip to content

fix: wcag 4.1.2 requirement, add box-shadow to trip card focus#706

Open
reidzeibel wants to merge 2 commits intomainfrom
ridwan/accessibility-4.1.2
Open

fix: wcag 4.1.2 requirement, add box-shadow to trip card focus#706
reidzeibel wants to merge 2 commits intomainfrom
ridwan/accessibility-4.1.2

Conversation

@reidzeibel
Copy link
Copy Markdown
Member

related to https://github.com/AtB-AS/kundevendt/issues/22865

Fulfills WCAG rule 4.1.2, now label is connected to input id.

Extra change fixes interaction with trip card, now it is more accessible with keyboard:

  • Tabbing will skip the "See more" button, allowing the user to skip through trip cards.
  • Added screenreader text that tells the user the trip card is expandable/collapsable using the activate button (enter/space)
  • Added box-shadow for visual cue when tabbing through the trip card.

@reidzeibel reidzeibel self-assigned this Mar 27, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 27, 2026

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

Project Deployment Actions Updated (UTC)
planner-web Ready Ready Preview, Comment Mar 27, 2026 0:59am

Request Review

@reidzeibel reidzeibel marked this pull request as ready for review March 27, 2026 12:57
@reidzeibel reidzeibel requested a review from strandlie as a code owner March 27, 2026 12:57
@reidzeibel reidzeibel requested a review from rosvik March 27, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant