json-schema-org / json-schema-org/website

🐛 Bug:Clicking section header scrolls to top and highlights all headers

Open
#2,341 3 comments 0 reactions 1 assignee View on GitHub

@Surajiitmjnu is already working on this.

Since Mar 16, 2026.

🐛 Bug
Dominant language
HTML
Stars
169
Forks
484
Avg merge
2d 2h
Merged PRs (30d)
6

Description

Describe the bug

When clicking a section header (for example Schema, Instance, Dialect, EvaluationOptions) from the page, the page scrolls to the top/header instead of the selected section. Additionally, all section headers appear highlighted instead of highlighting only the active header.

Steps To Reproduce
  1. Go to the https://json-schema.org/implementers/interfaces
  2. Scroll down to the section headers (Schema, Instance, Dialect, etc.).
  3. Click on any section header.
  4. The page scrolls to the top and all headers become highlighted.
Expected Behavior

The page should scroll to the selected section. AND Only the active section header should be highlighted.

Screenshots

https://github.com/user-attachments/assets/b990f3cb-ae0e-402f-afa2-de14fe4ad47b

Device Information [optional]
- OS:
- Browser:
- version:
Are you working on this issue?

YES

Do you think this work might require an [Architectural Decision Record (ADR)]? (significant or noteworthy)

nO

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.