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

Bug report - Broken Anchor Link #1919

Open
yuliyang opened this issue Oct 7, 2023 · 0 comments
Open

Bug report - Broken Anchor Link #1919

yuliyang opened this issue Oct 7, 2023 · 0 comments
Assignees
Labels
[Component] Content Website development issues related to the content on Learn. [Dev] Has PR Website related issue that also has a related pull request. [Type] Bug Something isn't working on the Learn website.

Comments

@yuliyang
Copy link
Contributor

yuliyang commented Oct 7, 2023

Description

Lesson plan's pattern template has "Lesson Wrap Up" section at the end that anchor links to Exercises and Assessment.
Lots of lesson plan's anchor links are not working. I've made a pull request to start. #1880

Step-by-step reproduction instructions

Below are some examples of broken anchor link lesson plans.

Examples of headings have lowercase IDs but anchor link is capitalized:
https://learn.wordpress.org/lesson-plan/how-to-build-low-code-block-patterns/
https://learn.wordpress.org/lesson-plan/anonymizing-information-in-the-browser/

Example of no IDs in headings:
https://learn.wordpress.org/lesson-plan/how-to-add-and-remove-logo-and-site-icon-in-site-editor/#Assessment

Expected behaviour

  1. Fix existing Lesson Wrap Up section Exercises and Assessment anchor links.
  2. decide whether to keep capitalize anchor link or update to lowercase.

Actual behaviour

  1. some lesson plan's anchor links are not working
  2. pattern template title has no ID set for anchor link

Screenshots or screen recording (optional)

Environment information

  • Browser(s) are you seeing the problem on.
  • Device you are using and operating system (e.g. "Desktop with Windows 10", "iPhone with iOS 14", etc.).
@yuliyang yuliyang added [Type] Bug Something isn't working on the Learn website. Awaiting Triage Issues awaiting triage. See Training Team handbook for how to triage issues. labels Oct 7, 2023
@jonathanbossenger jonathanbossenger added [Component] Lesson Plans hacktoberfest To mark issues for the Hacktoberfest event each October. [Dev] Has PR Website related issue that also has a related pull request. and removed Awaiting Triage Issues awaiting triage. See Training Team handbook for how to triage issues. labels Oct 12, 2023
@kaitohm kaitohm added [Component] Content Website development issues related to the content on Learn. and removed [Component] Lesson Plans labels Nov 27, 2023
@kaitohm kaitohm removed the hacktoberfest To mark issues for the Hacktoberfest event each October. label Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Component] Content Website development issues related to the content on Learn. [Dev] Has PR Website related issue that also has a related pull request. [Type] Bug Something isn't working on the Learn website.
Projects
Status: In Progress
Development

No branches or pull requests

3 participants