0.1.3 • Published 5 years ago

testing-one-drew v0.1.3

Weekly downloads
17
License
-
Repository
-
Last release
5 years ago

psammead-headings · GitHub license npm version PRs Welcome

Description

The Headings are a set of two components, Headline and SubHeading. They use a h1 and h2 HTML element respectively, with the Headline being designed for a single use on the page, with SubHeading being aimed at repeated use.

When to use this component

These components can be used at any point on the page, however the Headline is designed to be used once at the top of the page. The SubHeading adds an id value to the h2 which can be used as an anchor when referencing content.

Accessibility notes

The SubHeading component has a tabindex of -1 so that it works correctly with screen readers when navigated to via a skip link.

Contributing

Psammead is completely open source. We are grateful for any contributions, whether they be new components, bug fixes or general improvements. Please see our primary contributing guide which can be found at the root of the Psammead respository.

Code of Conduct

We welcome feedback and help on this work. By participating in this project, you agree to abide by the code of conduct. Please take a moment to read it.

License

Psammead is Apache 2.0 licensed.