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-14910: Add unique identifier to va-accordion-item id for healh services #1713

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

chriskim2311
Copy link
Contributor

@chriskim2311 chriskim2311 commented Sep 19, 2023

Description

On the health services page we have h2 headings with the same id as the accordion id's. This change will add a prefix of item- to the va-accordion items. Allowing for deep linking to these accordions and not breaking the header On this Page functionality.

Testing done & Screenshots

/boston-health-care/health-services/#item-primary-care

Health_Services___VA_Boston_Health_Care___Veterans_Affairs_and_baby_moon_in_oahu_-_Google_Search

QA steps

Verify that deep-linking works and that there are no identical ids on the page specifically the headers and va-accordion-items.

Acceptance criteria

  • Elements on the same page should not have the same ID, each ID should be unique
  • Accessibility Review

@chriskim2311
Copy link
Contributor Author

@laflannery This PR is ready for your review

Copy link
Contributor

@maxx1128 maxx1128 left a comment

Choose a reason for hiding this comment

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

I confirmed the QA steps and that the deep links don't interfere with each other 👍

@laflannery
Copy link

Approved - confirmed axe is no longer reporting dup IDs, Anchor links in On this page component are still working and deep linking is working properly

@chriskim2311 chriskim2311 merged commit fee41ba into main Sep 20, 2023
21 checks passed
@chriskim2311 chriskim2311 deleted the 14910-va-accordion-id branch September 20, 2023 16:30
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.

4 participants