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

Define new component: Content Navigation #24

Closed
6 of 7 tasks
chachasikes opened this issue Jun 16, 2021 · 1 comment
Closed
6 of 7 tasks

Define new component: Content Navigation #24

chachasikes opened this issue Jun 16, 2021 · 1 comment

Comments

@chachasikes
Copy link
Collaborator

Checklist

  • Name
  • About this component
  • Description
  • Examples (ca.gov)
  • Examples (design systems)
  • Features
  • Requesting agency

Name

What should we call this component in conversation?

Content Navigation

About this component

Please tell us more about the component.

The content-navigation is a stand-alone web component that accepts a target selector, finds any h2-h6 tags, and builds a list of anchor links. If tags to not have ids, ids are created dynamically so that on clicking the link, it will scroll to that section.

Description

Describe how this component will be used.

This component will be used to help page viewers find content on the page.

Examples from ca.gov properties

(Can be screenshots, a few examples is great. Please include URLs if the examples are live.) This helps everyone understand what you are referring to.

The covid19.ca.gov website used jump links at the top of pages to help reads find relevant information.

Examples from other design systems

If this component is commonly found in other design systems, please link to it. This helps everyone understand real-world examples of this idea.

Not aware of any, requires research.

Features

Critical features to support initially.

  • Read page headers and build links to the headers

Requesting agency

Who is requesting this component?

Office of Digital Innovation & Department of Cannabis Control

@chachasikes
Copy link
Collaborator Author

cannabis.ca.gov trackback: cagov/cannabis.ca.gov#53

@wrendo wrendo added this to Internal Review in Design System Jul 19, 2021
@wrendo wrendo added this to Internal Review in Design System Jul 20, 2021
@aaronhans aaronhans moved this from Internal Review to Dev Backlog in Design System Dec 8, 2021
@wrendo wrendo closed this as completed Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Design System
Internal Review
Development

No branches or pull requests

2 participants