uswds-site icon indicating copy to clipboard operation
uswds-site copied to clipboard

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

Open jduss4 opened this issue 9 months ago • 1 comments

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

  • Mac OSX Sonoma, Chrome 125.0.6422.77

Additional context

No response

Code of Conduct

jduss4 avatar May 22 '24 19:05 jduss4