-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Complete before freezeIssues we want to complete before the USWDS 3 code freezeIssues we want to complete before the USWDS 3 code freezePackage: In-page navigationType: Feature RequestNew functionalityNew functionality
Milestone
Description
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
- I agree to follow this project's Code of Conduct.
- I checked the current issues for duplicate feature requests.
Metadata
Metadata
Assignees
Labels
Complete before freezeIssues we want to complete before the USWDS 3 code freezeIssues we want to complete before the USWDS 3 code freezePackage: In-page navigationType: Feature RequestNew functionalityNew functionality
Type
Projects
Status
Done