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.
- Heading components should be in order. That means an
Headings-H1
is followed by anHeadings-H2
, anHeadings-H2
is followed by aHeadings-H2
orHeadings-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.
- SC 1.3.1 - Info and relationships
- SC 2.4.6 - Headings and labels