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

USWDS - Feature: Set minimum heading count for in-page navigation #5967

Open
2 tasks done
stphnwlkr opened this issue Jul 1, 2024 · 0 comments · May be fixed by #6205
Open
2 tasks done

USWDS - Feature: Set minimum heading count for in-page navigation #5967

stphnwlkr opened this issue Jul 1, 2024 · 0 comments · May be fixed by #6205
Assignees
Labels
Complete before freeze Issues we want to complete before the USWDS 3 code freeze Package: In-page navigation Type: Feature Request New functionality

Comments

@stphnwlkr
Copy link

Is your feature request related to a problem? Please describe.

There are often times where having one or two headings on a page makes the in-page navigation feature of limited values, especially with only a small amount of content on the page.

Describe the solution you'd like

Ideally, we would have a data attribute data-minimum-heading-count that could be set so that the in-page navigation doesn't render if there are less than or equal to the value in the attribute. This would build on the feature request #5610

Describe alternatives you've considered

I am currently working with several WordPress table of contents plugins that have this feature, and this would be a great alternative for ensuring consistency in the coding.

Additional context

No response

Code of Conduct

@stphnwlkr stphnwlkr added the Type: Feature Request New functionality label Jul 1, 2024
@github-actions github-actions bot added the Status: Triage We're triaging this issue and grooming if necessary label Jul 1, 2024
@brunerae brunerae removed the Status: Triage We're triaging this issue and grooming if necessary label Jul 18, 2024
@brunerae brunerae added this to the uswds 3.10.0 milestone Jul 18, 2024
@brunerae brunerae moved this to Ready to Schedule in USWDS Core Project Data Jul 18, 2024
@mejiaj mejiaj moved this from Ready to Schedule to Review in USWDS Core Project Data Sep 9, 2024
@amyleadem amyleadem moved this from Review to In progress in USWDS Core Project Data Nov 4, 2024
@mlloydbixal mlloydbixal moved this from In progress to Review in USWDS Core Project Data Nov 15, 2024
@mejiaj mejiaj moved this from Review to In progress in USWDS Core Project Data Nov 20, 2024
@mlloydbixal mlloydbixal moved this from In progress to Review in USWDS Core Project Data Nov 27, 2024
@amyleadem amyleadem added the Complete before freeze Issues we want to complete before the USWDS 3 code freeze label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment