Heading

Heading component is an essential element that contributes to define a great hierarchy within the application. It helps to give semantic meaning to the content as well as contributing to define a good structure for SEO (search engine optimization). The implementation will rely on the use of HTML tags.

Design tokens

Color

An inherit color from the definition of the application is received, so the component could change his color based on that parameter. There is no specific color tokens for this component.

Typography

Headings H1

PropertyValueCore token
font-family'Open Sans', sans-serif;font-family-sans
font-weight600font-weight-semibold
font-size32px / 2.5remfont-scale-07
font-stylenormalfont-normal
letter-spacing-12.5px / -0.0125emfont-tracking-tight-01

Headings H2

PropertyValueCore token
font-family'Open Sans', sans-serif;font-family-sans
font-weight600font-weight-semibold
font-size24px / 1.5remfont-scale-05
font-stylenormalfont-normal
letter-spacing0px / 0emfont-tracking-normal

Headings H3

PropertyValueCore token
font-family'Open Sans', sans-serif;font-family-sans
font-weight600font-weight-semibold
font-size20px / 1.25remfont-scale-04
font-stylenormalfont-normal
letter-spacing0px / 0emfont-tracking-normal

Headings H4

PropertyValueCore token
font-family'Open Sans', sans-serif;font-family-sans
font-weight600font-weight-semibold
font-size16px / 1remfont-scale-03
font-stylenormalfont-normal
letter-spacing0px / 0emfont-tracking-normal

Headings H5

PropertyValueCore token
font-family'Open Sans', sans-serif;font-family-sans
font-weight600font-weight-semibold
font-size14px / 0.875remfont-scale-02
font-stylenormalfont-normal
letter-spacing0px / 0emfont-tracking-normal

Accessibility

  • Heading components should be in order. That means an Headings-H1 is followed by an Headings-H2, an Headings-H2 is followed by a Headings-H2 or Headings-H3 and so on.
  • Keep heading tags consistent. Inconsistently implementing headings can create confusion and frustration for users using assistive technologies.
  • Headings are not interactive elements and therefore have no keyboard or pointer interaction.