-
Notifications
You must be signed in to change notification settings - Fork 69
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
Update Other nearby locations directions link with sr-only solution #14309
Comments
May make sense to do at the same time as "Other nearby VA locations" list on VAMC page #13896 |
This is still open because the builds keep failing on required steps (e.g. it'll build on dev and prod but not staging and have to be rebuilt, or it'll run tests then one test will timeout waiting for a runner and then need to be restarted and then a subsequent test will do the same). So many hours of instability. EDIT: Finally enough re-running of tests passed. Merged. |
Verified the screenshots:![Screenshot 2023-10-11 at 4 28 34 PM](https://github.com/department-of-veterans-affairs/va.gov-cms/assets/85581471/55d0a533-9293-4900-acdd-8da6957686f2)One missing piece: Not all directions links include https://www.va.gov/north-florida-health-care/locations/ https://www.va.gov/ocala-vet-center/locations/ |
They are separate areas managed by other components. Only the ones in other nearby were supposed to be updated here. I can modify the ticket if needed to list all areas, but those aren't the only google driving directions either, I think. |
@laflannery can confirm -- I'm ok breaking the missing |
@jilladams You are correct that this ticket was supposed to get everything all nicely cleaned up and it has from a strictly accessibility standpoint. However That being said - I think it's your call whether we:
|
Ok. That in mind, closing this ticket as complete in prod for Other nearby locations, and have created #15670 as a blanket ticket to mop up whatever has been left behind in our products / Google links. |
Putting a note here and there where to find the main facility listing & satellite listings google directions links (they are in content-build in |
Description
This is related to #13837 and #12085
The Directions links should include text for screen readers to specifically indicate which location the link is providing directions for. Screen reader users may navigate pages by only focusable items, which means they only hear "link Directions (Google Maps)" without the surrounding context.
Ideally all the directions links through the site should be implemented in the same way, so that this is consistent and users can expect the same experience whenever they encounter a directions link.
class="sr-only"
that would include the title of the specific location that would make these unique links.This would include the directions link for locations under "Other nearby locations" also.
Steps to Recreate
Acceptance Criteria
sr-only
patternPossible Fixes (optional)
Add screen reader only text:
<a href="#">Get directions on Google Maps <span class="sr-only">to Erie Health Care Medical Center</span></a>
This is already done on the Facility Locator search results Directions links for reference and in the 2 tickets mention in the Description
WCAG or Vendor Guidance (optional)
Screenshots
The text was updated successfully, but these errors were encountered: