department-of-veterans-affairs / va.gov-cms

Editor-centered management for Veteran-centered content.
https://prod.cms.va.gov
GNU General Public License v2.0
99 stars 69 forks source link

Facility Locator: Move mileage in search results items #18434

Closed laflannery closed 1 month ago

laflannery commented 4 months ago

Background

In an effort to move the facility locator redesign work forward, we are trying to break up the large project into smaller, more manageable pieces that can be completed more easily and added into sprints.

Description

Move milage down below the header/facility name for the search results items in the Facility Locator

Screenshots **Current display** ![image](https://github.com/department-of-veterans-affairs/va.gov-cms/assets/106678594/505f2af8-55ca-4fee-89ae-874222812827) **New display** ![image](https://github.com/department-of-veterans-affairs/va.gov-cms/assets/106678594/82dacf73-c768-42c6-9431-d264e0b8de25)

Acceptance Criteria

Accessibility review steps

Confirm the milage resizes appropriately with the browser font settings

  1. Go to the Facility Locator page /find-locations
  2. Complete a search, so that the results list appears
  3. Within your default browser, update your settings to the largest font size available (you do not need to test all of these):
    • Chrome: Settings > Appearance > Font size
    • Firefox: Settings > Language & Appearance > Fonts
    • Edge: Settings > Appearance > Fonts
  4. Confirm that the milage increases in size correctly

Confirm the milage is read properly and in the correct order by VoiceOver (because I believe the majority of people on the team have Macs)

  1. Go to the Facility Locator page /find-locations
  2. Complete a search, so that the results list appears
  3. Turn on VO: CMD + FN + F5
  4. Using the rotor menu, jump to one of the Facility name headings
    • CTRL + OPT + U
    • Arrow right until you get to the Headings menu
    • Arrow down to go through the available headings
    • Enter when you are on the heading you want to jump to
  5. Read from that point on and confirm you hear the milage read AFTER the heading now
    • CTRL + OPT + A
mmiddaugh commented 4 months ago

Might make sense to do along with Facility Locator: Change markers on map to use letters instead of numbers #18435

mmiddaugh commented 4 months ago

@laflannery should we separate the mileage position change from the TTY number to make this easier to pull in as a quick win?

laflannery commented 4 months ago

@mmiddaugh Updated, TTY ticket is now here

randimays commented 1 month ago

Validated successfully in production; closing as complete.