Skip to content

Bug report - Broken Anchor Link #1919

@yuliyang

Description

@yuliyang

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.).

Metadata

Metadata

Assignees

Labels

[Component] ContentWebsite development issues related to the content on Learn.[Dev] Has PRWebsite related issue that also has a related pull request.[Type] BugSomething isn't working on the Learn website.

Type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions