-
Notifications
You must be signed in to change notification settings - Fork 70
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
Improve static map images #18268
Comments
DescriptionDuring an accessibility audit of the Vet Center product, accessibility and design improvements were identified and have an opportunity to be improved across all facility types. Areas identified for improvement
Acceptance Criteria
|
Just clarifying a couple of the bullets above:
IF the link on the map image remains, THEN the alt text must describe the purpose of that link. In which case it's going to be duplicative of the visible "Get directions" link already on the page.
IF we remove then link from the map image, THEN the alt text should describe the map as that is now the purpose of the image on the page. |
@aklausmeier and I discussed and decided we should:
|
There's an additional report from VBA staging review in department-of-veterans-affairs/va.gov-team#87429 that belongs in here, if we suss out how to address it. Basically: the placement of the location and map images get disconnected from the address data depending on your zoom / screen size / if using a screen reader, because they're in a right column / floated right, and then get stacked. We need to find a way to keep them closer to address data in the markup. Full description from 87429DescriptionIn the "Location and contact information" section, here's where the images of the facility and the map are placed:
This potentially impacts users in a couple of ways:
The actual impact here is relatively minor --- the two images in the right-hand column aren't critical to understanding the page. But it's still a potential point of friction. Link, screenshot or steps to recreateThe two-column layout is coded roughly as:
... with CSS stacking the second Recommended actionPreferred option would be to explore some CSS layouts that keep the images in in the same chunk of content as the address and "Get directions on Google Maps" text. That's what they're most closely related to, that's where it makes sense for them to be. Next-best option would be to flip the order:
... with CSS to float the images to the right. It's not ideal but I think it would be an improvement overall. That would ensure the document order and screen reader experience would match the small viewport experience, and keep both of those images in pretty close proximity to their related content. |
@Agile6MSkinner Another I would like to discuss tomorrow |
From planning: we'd like to get this done, but we need to review comments and determine the path forward. @Agile6MSkinner a candidate for refinement. |
[2024-11-27] Need a refinement / product judgment call on UX options for how to handle in this comment
Description
During an accessibility audit of the Vet Center product and during VBA Regional office staging review, accessibility and design improvements were identified for the static locations map image, link, and zoom link/icon, that is used across all facility types.
Areas identified for improvement
VBA
e.g https://www.va.gov/portland-va-regional-benefit-office/
Markup screenshot
Vet Center
https://www.va.gov/portland-or-vet-center/
Markup screenshot
VAMC
https://www.va.gov/minneapolis-health-care/locations/minneapolis-va-medical-center/
Markup screenshot
Engineering notes / background
Map image, alt text, and zoom icon are set here in a widget that's used across all facility types: https://github.com/department-of-veterans-affairs/vets-website/blob/main/src/applications/static-pages/facilities/FacilityMapWidget.jsx#L67
Testing
Changes are made in one place that applies across many page types, and should be sanity checked in all instances to verify:
Acceptance Criteria
zoom_out_map
is removed and does not appear in markupThe text was updated successfully, but these errors were encountered: