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

USWDS-Site - In-page navigation: Update outdated data-heading-selector references #2560

Merged
merged 3 commits into from
Mar 26, 2024

Conversation

amyleadem
Copy link
Contributor

@amyleadem amyleadem commented Mar 25, 2024

Summary

Updated all outdated references to data-heading-selector with data-heading-elements.

Related issue

Closes #2559

Related to uswds/uswds#5836

Preview link

In-page navigation page

Problem statement

The in-page navigation page lists an attribute called data-heading-selector, but it is now called data-heading-elements in USWDS.

Testing and review

  1. Confirm that the data-heading-elements selector matches the attribute named in USWDS
  2. Confirm that this PR updates all references to data-heading-selector on site

@amyleadem amyleadem marked this pull request as ready for review March 25, 2024 21:40
Copy link
Contributor

@mahoneycm mahoneycm left a comment

Choose a reason for hiding this comment

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

Lgtm!

  • Attribute matches USWDS attribute
  • All references to usa-data-heading-selector have been replaced

@annepetersen annepetersen merged commit 447804a into main Mar 26, 2024
11 checks passed
@annepetersen annepetersen deleted the al-in-page-nav-attr branch March 26, 2024 23:46
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.

USWDS-Site - Bug: Replace references to data-heading-selector
3 participants