Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: Add wheelchair accessibility indicators to stops #320

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

ksharma-xyz
Copy link
Owner

@ksharma-xyz ksharma-xyz commented Nov 8, 2024

TL;DR

Added wheelchair accessibility indicators to journey stops in the trip planner UI.

What changed?

  • Added wheelchair accessibility property to stop data models
  • Updated the StopInfo component to display a wheelchair icon for accessible stops
  • Fixed the serialization name for wheelchair access from "wheelchairAccess" to "WheelchairAccess"
  • Added wheelchair accessibility status to preview data
  • Modified the accessibility icon color to match the UI theme

How to test?

  1. Navigate to the trip planner
  2. Search for a journey
  3. Verify wheelchair icons appear next to stops that are wheelchair accessible
  4. Confirm the icon visibility matches the isWheelchairAccessible property
  5. Check that the icon color matches the prominence level of the stop text

Why make this change?

To improve accessibility information visibility for users with mobility needs, making it easier to identify which stops are wheelchair accessible directly in the journey view.

Copy link
Owner Author

ksharma-xyz commented Nov 8, 2024

@ksharma-xyz ksharma-xyz changed the title A11y: Add wheelchair access support UI: Add wheelchair accessibility indicators to stops Nov 8, 2024
@ksharma-xyz ksharma-xyz marked this pull request as ready for review November 8, 2024 00:34
@ksharma-xyz ksharma-xyz force-pushed the 11-08-update_alert_color branch from e88e27e to 923ecc6 Compare November 8, 2024 00:37
@ksharma-xyz ksharma-xyz force-pushed the 11-08-a11y_add_wheelchair_access_support branch from 29f6088 to 7f2e7c7 Compare November 8, 2024 00:38
@ksharma-xyz ksharma-xyz changed the base branch from 11-08-update_alert_color to graphite-base/320 November 8, 2024 23:33
@ksharma-xyz ksharma-xyz force-pushed the 11-08-a11y_add_wheelchair_access_support branch from 7f2e7c7 to 46f1c32 Compare November 8, 2024 23:33
@ksharma-xyz ksharma-xyz changed the base branch from graphite-base/320 to main November 8, 2024 23:34
@ksharma-xyz ksharma-xyz force-pushed the 11-08-a11y_add_wheelchair_access_support branch from 46f1c32 to 79dd3df Compare November 8, 2024 23:34
@ksharma-xyz ksharma-xyz merged commit a386ece into main Nov 8, 2024
3 checks passed
Copy link
Owner Author

Merge activity

  • Nov 8, 6:40 PM EST: A user merged this pull request with Graphite.

@ksharma-xyz ksharma-xyz deleted the 11-08-a11y_add_wheelchair_access_support branch November 8, 2024 23:40
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.

1 participant