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 - In-page navigation: Update reference to data-heading-elements sttribute #5856

Merged
merged 1 commit into from
May 22, 2024

Conversation

amyleadem
Copy link
Contributor

@amyleadem amyleadem commented Apr 9, 2024

Summary

Updated an outdated reference to the data-header-selector attribute in an in-page navigation JavaScript error message. The error message now correctly references the data-heading-elements attribute.

Breaking change

This is not a breaking change.

Related issue

Closes #5836

Related pull requests

N/A

Preview link

N/A

Problem statement

Testing and review

  • Confirm that the attribute references match the current USWDS attribute names

- data-header-selector is now called data-heading-elements in the system
@amyleadem amyleadem marked this pull request as ready for review April 9, 2024 17:26
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.

Looks good to me! Searched for any references to data-header-selector and didn't find any 👍

Copy link
Contributor

@mejiaj mejiaj left a comment

Choose a reason for hiding this comment

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

Looks good. Didn't find any references on here or site.

@thisisdano thisisdano merged commit a3ec5c2 into develop May 22, 2024
5 checks passed
@thisisdano thisisdano deleted the al-update-error-msg branch May 22, 2024 22:02
@thisisdano thisisdano mentioned this pull request May 30, 2024
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 - In-page navigation: Update reference to data-header-selector
4 participants