-
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
Front end templates for Vet Center shows both common and official names #15424
Comments
This is likely blocked until Outstations are able to have both an official and common name - will be resolved by #15422 Vet Center Outstations should display common and official names |
@mmiddaugh Currently, both names (when present) are all read by a screen reader as H1, do we want this? |
@mmiddaugh To clarify the question here - The H1 on Vet Center pages has an What this does is appends this text to the H1 when a screen reader user chooses to read it out. It will NOT make this the H1, so if you are looking at, or hearing, a list of Headings on the page you will still have only "Prescott Vet Center" but if the user reads through the page, this additional text will be associated with the H1: Maybe this doesn't clarify, but I tried lol |
I spoke with Michelle and she said:
With that said, the markup should look as it currently does on Prescott Vet Center
|
I have a few questions about common and official names... In the example of the Prescott Vet Center main page But on the locations page in the Main location section we only see the common name in the link. Are we asking to also include the AKA official name in that link? We currently have a very long if condition checking whether to include that as a URL or title.
otherwise it displays it as a link as is being done in Prescott. But how would we want to display it here? I don't have examples of how that should look (e.g., does the official name also go in the link? Does the title have aria-describedby with the official name as well?). For the Other nearby Vet Centers do they need to display in this format? I have a fix for @laflannery's comment on the Salt Lake Vet Center page, without an official name, but that seems secondary to this ticket. |
blocked by #15660, which will likely be worked on in sprint 97 |
This work is unblocked by the completion of #15660
|
@xiongjaneg I updated the ACs with the required markup for this work. I know it's mentioned in a few other places (sketch, the comment above) but I thought it might be best to have it in the ACs to make sure it wasn't missed. |
I'm putting some notes here about how I'm going to start addressing the code parts of this ticket:
|
Moving to Review / QA based on Max's scrum update today. |
Update: In current behavior, there are three examples of behavior to be changed. But example 2, showing both names for nearby locations, is rendered through a React component on |
@maxx1128 will you ticket or have you already tagged Jane to ticket the remaining work required for example 2 / React component? |
I can write the ticket for the remaining work for this, and will reference this ticket too 👍 |
I created the ticket for the remaining work here and added an estimate while I was at it. cc: @xiongjaneg in case she wants to tweak any of the language or details. |
End of sprint update: Satellite offices AC is handled just we need sample content to prove it. Possibly mergeable today. |
PR is merged, should go out in |
Design and a11y reviewed, all recommendations made and noted in PR, which was merged successfully |
Problem statement
Veterans may know and search for their closest Vet Center by a common name, rather than an official name. Vet Center common names should be displayed along with official names to help Veterans identify and locate their Vet Centers.
Background
The Outstation associated with Salt Lake City Vet Center is displayed using only the Official name. The Common name concept needs to be available for Outstations as well.
Example: Major Brent Taylor Vet Center Outstation (node/17527), associated with Salt Lake City Vet Center
Vet Center Sketch file
VBA Sketch file
CMS and FE screenshots
Private Zenhub Image
Test cases should come from Tugboat data
Current behavior
A Vet Center is identified only by the official name when listed as a nearby Location on another Vet Center's page.Example 1: Dr. Cameron McKinley Department of Veterans Affairs Veterans Center (Prescott Vet Center) as displayed as a nearby location for West Valley Vet CenterExample 2: Col. Gail S. Halvorsen 'Candy Bomber' Veterans Center (Provo Vet Center) as displayed as a nearby location for Salt Lake City Vet CenterExpected behavior
Acceptance Criteria
Vet Center main page
<p>
tag.aria-describedby
attribute that references the ID of the official name element.aria-describedby
attribute must be conditional - if there is no official name, the attribute should not be presentVet Center Locations page
Listings for a location with both an official and common name displays both names when listed as a nearby location on another Vet Center's Locations pageid
andaria-describedby
attributes) should be followed wherever the official name appearsTeam
Please check the team(s) that will do this work.
The text was updated successfully, but these errors were encountered: