Skip to content

USWDS - In-page navigation: Update reference to data-heading-elements sttribute#5856

Merged
thisisdano merged 1 commit into
developfrom
al-update-error-msg
May 22, 2024
Merged

USWDS - In-page navigation: Update reference to data-heading-elements sttribute#5856
thisisdano merged 1 commit into
developfrom
al-update-error-msg

Conversation

@amyleadem

@amyleadem amyleadem commented Apr 9, 2024

Copy link
Copy Markdown
Contributor

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
@amyleadem amyleadem requested review from mahoneycm and mejiaj April 9, 2024 17:26

@mahoneycm mahoneycm left a comment

Copy link
Copy Markdown
Contributor

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 👍

@mejiaj mejiaj left a comment

Copy link
Copy Markdown
Contributor

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.

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