- Docs
- Components
- Type
Heading
A section heading: the level sets the element, the size sets the look. The level is required, so the outline is always meant.
- Import
- @qeetrix/react
- Status
- StableSince 0.0.2
- Renders
<h1>–<h6>Server-rendered- Tested
- WCAG 2.2 AAaxe on every pull request
01
Behaviour
- Outline
- level is required: every heading is meant, and in order.
- Look
- size changes only the look, never the level.
- Zoom
- Sizes in rem: they grow with the reader's text size.
02
Tested
On every change, before it ships.
- axe, WCAG 2.2 A and AA, in Chromium on every pull request
- Firefox and WebKit every night
- Text zoom to 200% and text spacing (WCAG 1.4.4, 1.4.12)
- Forced colours and right to left