-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UI: Add wheelchair accessibility indicators to stops (#320)
### 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.
- Loading branch information
1 parent
3159e17
commit a386ece
Showing
7 changed files
with
58 additions
and
7 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters