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

a11y: Location field dropdown ID #615

Merged

Conversation

binh-dam-ibigroup
Copy link
Collaborator

This PR makes the dropdown and its ID continuously visible in the DOM and from the DOM elements that control the dropdown.

@binh-dam-ibigroup binh-dam-ibigroup marked this pull request as ready for review July 7, 2023 14:48
@amy-corson-ibigroup amy-corson-ibigroup self-assigned this Jul 7, 2023
Copy link
Contributor

@amy-corson-ibigroup amy-corson-ibigroup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small UI issue but overall this looks really good!

so that assistive technology can associate the list with the button and input controls. */}
<ItemList
// Hide the list from screen readers if no enabled options are shown.
aria-hidden={hasNoEnabledOptions}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something about this aria-hidden/HiddenCss isn't registering, and these containers are still showing up
image

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I thought I covered that during initial dev, but it didn't work after a fresh compile. Fixed in 0657fd8.

Copy link
Contributor

@amy-corson-ibigroup amy-corson-ibigroup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Thanks!

Copy link
Collaborator

@miles-grant-ibigroup miles-grant-ibigroup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great changes thanks!

@binh-dam-ibigroup binh-dam-ibigroup merged commit a972e1a into opentripplanner:master Jul 19, 2023
2 checks passed
@binh-dam-ibigroup binh-dam-ibigroup deleted the location-field-dropdown-id branch July 19, 2023 17:01
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.

3 participants