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

VACMS-10159: Use token in link text on VAMC non-clinical services #19622

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

davidmpickett
Copy link
Contributor

@davidmpickett davidmpickett commented Oct 28, 2024

Description

Relates to #10159.

Testing done

Manual in Tugboat

Screenshots

Content type Before After
Medical Records Screenshot 2024-10-28 at 1 36 45 PM Screenshot 2024-10-28 at 1 36 28 PM
Register for care Screenshot 2024-10-28 at 1 39 15 PM Screenshot 2024-10-28 at 1 39 03 PM
Billing & insurance Screenshot 2024-10-28 at 1 42 05 PM Screenshot 2024-10-28 at 1 41 51 PM

QA steps

  1. Login to tugboat as a Content Admin or VAMC editor
  2. Billing and Insurance
    • View the Maryland health care Billing and Insurance node
    • Scroll down to Billing and insurance locations
    • Notice that each facility has a unique link
    • Click the links to verify they open in a new tab and go to the indicated facility and are the correct service
    • Edit the node
    • Verify that links are correct here too
  3. Medical Records Office
    • View the Maryland health care Medical Records office node
    • Scroll down to Medical records office locations
    • Notice that each facility has a unique link
    • Click the links to verify they open in a new tab and go to the indicated facility and are the correct service
    • Edit the node
    • Verify that links are correct here too
  4. Register for Care
    • View the Maryland health care Register for Care node
    • Scroll down to Register for care locations
    • Notice that each facility has a unique link
    • Click the links to verify they open in a new tab and go to the indicated facility and are the correct service
    • Edit the node
    • Verify that links are correct here too
  5. Other stress tests I did
    • Add a new non-clinical service and verify it shows up with the correct link on the related node
    • Archive a non-clinical service and verify it shows up with the correct link on the related node

Definition of Done

  • Automated tests have passed.
  • Code Quality Tests have passed.
  • Acceptance Criteria in related issue are met.
  • Manual Code Review Approved.

@va-cms-bot va-cms-bot temporarily deployed to Tugboat October 28, 2024 17:18 Destroyed
Copy link

Checking composer.lock changes...

@davidmpickett davidmpickett self-assigned this Oct 28, 2024
@davidmpickett davidmpickett requested a review from a team October 28, 2024 18:31
@va-cms-bot va-cms-bot temporarily deployed to Tugboat October 29, 2024 08:59 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat October 30, 2024 08:54 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat October 31, 2024 08:55 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 1, 2024 08:45 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 2, 2024 08:45 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 3, 2024 09:42 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 4, 2024 08:42 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 5, 2024 08:41 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 6, 2024 08:44 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 7, 2024 08:43 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 8, 2024 16:52 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 9, 2024 08:42 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 10, 2024 08:39 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 11, 2024 08:38 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 12, 2024 08:40 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 13, 2024 08:40 Destroyed
@omahane omahane marked this pull request as ready for review November 13, 2024 20:19
Copy link
Contributor

@omahane omahane left a comment

Choose a reason for hiding this comment

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

This looks just like the example screenshots.

@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 13, 2024 21:25 Destroyed
Copy link

Checking composer.lock changes...

1 similar comment
Copy link

Checking composer.lock changes...

@va-cms-bot
Copy link
Collaborator

Accessibility Violations Found:

[
  {
    "route": "/test-data-aspernatur",
    "id": "button-name",
    "impact": "critical",
    "tags": [
      "cat.name-role-value",
      "wcag2a",
      "wcag412",
      "section508",
      "section508.22.a",
      "ACT",
      "TTv5",
      "TT6.a"
    ],
    "description": "Ensures buttons have discernible text",
    "help": "Buttons must have discernible text",
    "helpUrl": "https://dequeuniversity.com/rules/axe/4.7/button-name?application=axeAPI",
    "nodes": [
      {
        "any": [
          {
            "id": "button-has-visible-text",
            "data": null,
            "relatedNodes": [],
            "impact": "critical",
            "message": "Element does not have inner text that is visible to screen readers"
          },
          {
            "id": "aria-label",
            "data": null,
            "relatedNodes": [],
            "impact": "serious",
            "message": "aria-label attribute does not exist or is empty"
          },
          {
            "id": "aria-labelledby",
            "data": null,
            "relatedNodes": [],
            "impact": "serious",
            "message": "aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty"
          },
          {
            "id": "non-empty-title",
            "data": {
              "messageKey": "noAttr"
            },
            "relatedNodes": [],
            "impact": "serious",
            "message": "Element has no title attribute"
          },
          {
            "id": "presentational-role",
            "data": null,
            "relatedNodes": [],
            "impact": "minor",
            "message": "Element's default semantics were not overridden with role=\"none\" or role=\"presentation\""
          }
        ],
        "all": [],
        "none": [],
        "impact": "critical",
        "html": "<button class=\"proofing-element-help\" role=\"tooltip\" data-proofing-help-title=\"About 'Page introduction' field\" data-proofing-help=\"Add an introduction that helps visitors understand if information on the page is relevant to them.\">
          <span aria-hidden=\"true\">i</span>
        </button>",
        "target": [
          ".field--name-field-intro-text-limited-html > .field__label > .proofing-element-help[role=\"tooltip\"]"
        ],
        "failureSummary": "Fix any of the following:
  Element does not have inner text that is visible to screen readers
  aria-label attribute does not exist or is empty
  aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
  Element has no title attribute
  Element's default semantics were not overridden with role=\"none\" or role=\"presentation\""
      },
      {
        "any": [
          {
            "id": "button-has-visible-text",
            "data": null,
            "relatedNodes": [],
            "impact": "critical",
            "message": "Element does not have inner text that is visible to screen readers"
          },
          {
            "id": "aria-label",
            "data": null,
            "relatedNodes": [],
            "impact": "serious",
            "message": "aria-label attribute does not exist or is empty"
          },
          {
            "id": "aria-labelledby",
            "data": null,
            "relatedNodes": [],
            "impact": "serious",
            "message": "aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty"
          },
          {
            "id": "non-empty-title",
            "data": {
              "messageKey": "noAttr"
            },
            "relatedNodes": [],
            "impact": "serious",
            "message": "Element has no title attribute"
          },
          {
            "id": "presentational-role",
            "data": null,
            "relatedNodes": [],
            "impact": "minor",
            "message": "Element's default semantics were not overridden with role=\"none\" or role=\"presentation\""
          }
        ],
        "all": [],
        "none": [],
        "impact": "critical",
        "html": "<button class=\"proofing-element-help\" role=\"tooltip\" data-proofing-help-title=\"About 'Generate a table of contents from major headings' field\" data-proofing-help=\"By checking this box, all h2's below this point on the page will be linked with with anchor links. This helps users navigate content on very long pages. Do not check this box unless there is at least 2 h2's on the page.\">",
        "target": [
          ".field--name-field-table-of-contents-boolean > .field__label > .proofing-element-help[role=\"tooltip\"]"
        ],
        "failureSummary": "Fix any of the following:
  Element does not have inner text that is visible to screen readers
  aria-label attribute does not exist or is empty
  aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
  Element has no title attribute
  Element's default semantics were not overridden with role=\"none\" or role=\"presentation\""
      },
      {
        "any": [
          {
            "id": "button-has-visible-text",
            "data": null,
            "relatedNodes": [],
            "impact": "critical",
            "message": "Element does not have inner text that is visible to screen readers"
          },
          {
            "id": "aria-label",
            "data": null,
            "relatedNodes": [],
            "impact": "serious",
            "message": "aria-label attribute does not exist or is empty"
          },
          {
            "id": "aria-labelledby",
            "data": null,
            "relatedNodes": [],
            "impact": "serious",
            "message": "aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty"
          },
          {
            "id": "non-empty-title",
            "data": {
              "messageKey": "noAttr"
            },
            "relatedNodes": [],
            "impact": "serious",
            "message": "Element has no title attribute"
          },
          {
            "id": "presentational-role",
            "data": null,
            "relatedNodes": [],
            "impact": "minor",
            "message": "Element's default semantics were not overridden with role=\"none\" or role=\"presentation\""
          }
        ],
        "all": [],
        "none": [],
        "impact": "critical",
        "html": "<button class=\"proofing-element-help\" role=\"tooltip\" data-proofing-help-title=\"About 'Main content' field\" data-proofing-help=\"The main body of the page, which appears below the featured content.\">
          <span aria-hidden=\"true\">i</span>
        </button>",
        "target": [
          "button[data-proofing-help-title=\"About 'Main content' field\"]"
        ],
        "failureSummary": "Fix any of the following:
  Element does not have inner text that is visible to screen readers
  aria-label attribute does not exist or is empty
  aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
  Element has no title attribute
  Element's default semantics were not overridden with role=\"none\" or role=\"presentation\""
      }
    ]
  }
]

@davidmpickett davidmpickett merged commit d0bf28f into main Nov 13, 2024
31 checks passed
@davidmpickett davidmpickett deleted the VACMS-10159-unique-links-vamc-nonclinical branch November 13, 2024 22:24
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