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

Improvement Suggestion: Correct Anchor Name for Link #32961

Closed
MadScientisto23 opened this issue Apr 4, 2024 · 1 comment
Closed

Improvement Suggestion: Correct Anchor Name for Link #32961

MadScientisto23 opened this issue Apr 4, 2024 · 1 comment
Labels
Content:Glossary Glossary entries

Comments

@MadScientisto23
Copy link

MadScientisto23 commented Apr 4, 2024

MDN URL

https://developer.mozilla.org/en-US/docs/Glossary/Hoisting

What specific section or headline is this issue about?

Temporal dead zone (TDZ) section

What information was incorrect, unhelpful, or incomplete?

The anchor name in the link did not match the heading in the documentation. The heading is 'Temporal dead zone (TDZ)', but the anchor name in the link was 'temporal_dead_zone_tdz'. This mismatch caused the link navigation to fail.

What did you expect to see?

I expected to click on the link and get to the correct position in the page https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let
So it does not confuse the person learning, who will have to ctrl+f to find the section Temporal dead zone (TDZ)

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

This is my first time posting an issue. I read the guidelines so I think this is okay.
To solve this issue it would be necessary to change line 20 from:
.../en-US/docs/Web/JavaScript/Reference/Statements/let#temporal_dead_zone_tdz ...

to
.../en-US/docs/Web/JavaScript/Reference/Statements/let#Temporal_dead_zone_TDZ ...

MDN metadata

Page report details
@MadScientisto23 MadScientisto23 added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Apr 4, 2024
@github-actions github-actions bot added Content:Glossary Glossary entries Content:JS JavaScript docs labels Apr 4, 2024
@Josh-Cena
Copy link
Member

Josh-Cena commented Apr 5, 2024

If you click on the "Temporal dead zone (TDZ)" heading, you see that its anchor name is exactly #temporal_dead_zone_tdz. The fact that it doesn't auto scroll is a long-known problem, and could be specific to Chrome: mdn/yari#8049

@Josh-Cena Josh-Cena closed this as not planned Won't fix, can't repro, duplicate, stale Apr 5, 2024
@Josh-Cena Josh-Cena removed Content:JS JavaScript docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:Glossary Glossary entries
Projects
None yet
Development

No branches or pull requests

2 participants