uswds / uswds-site

USWDS website and documentation
https://designsystem.digital.gov
Other
183 stars 140 forks source link

USWDS-Site - Bug: Height and Width "on this page" navigation incorrect links #2691

Open jduss4 opened 1 month ago

jduss4 commented 1 month ago

Describe the bug

On the height and width page, I realized that clicking links such as "maximum height" directs the page to #maximum-height, but the actual identifier on the page is #maxh. It seems to be limited to the "examples and usage" portion, as the other links in that same "on this page" nav seem to work.

Steps to reproduce the bug

  1. Go to https://designsystem.digital.gov/utilities/height-and-width/
  2. Click links under "On this page" and "examples and usage"
  3. You will be directed back to the top of the page instead of to the appropriate heading

[ alt text: screenshot of USWDS height and width page's sub navigation with items such as maximum height, maximum width, and aspect ratio ] image

Expected Behavior

I expect to jump down to the page to the "maximum height" section when I click "maximum height"

Screenshots

No response

System setup

Additional context

No response

Code of Conduct

brunerae commented 3 weeks ago

Potentially related to an In-Page Navigation bug; need dev to confirm