Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Non-unique ids in Theming Controlpanel

Open
#1,242 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start by locating the Theming Controlpanel, also called Theme settings, and the code that generates its two levels of nav elements and anchors. Reproduce the duplicate IDs and href targets shown in the issue; done means every generated ID and corresponding anchor is unique and nested headings remain directly addressable by URL.

Written by the indexing model from the issue text.

Description

The "Theming Controlpanel" (aka. "Theme settings") has two levels of nav-elements with non-unique ids.

    1. level: autotoc-item-autotoc-0, autotoc-item-autotoc-1
    1. level: autotoc-item-autotoc-0, autotoc-item-autotoc-1, autotoc-item-autotoc-2

The given anchors are also non-unique (see href attributes). It is not possible to properly access the elements via a url with anchor.

I'd suggest to change the 2. level ids to something like autotoc-item-autotoc-1-0, autotoc-item-autotoc-1-1, autotoc-item-autotoc-1-2

In which repository should I post an issue?

For more details and an image see this issue and the comments.

Plone - Theme settings

Dominant language
JavaScript
Stars
57
Forks
103
Avg merge
6d 15h
Merged PRs (30d)
5

Getting set up

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.

More from plone/mockup

All issues in plone/mockup

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.