Aa
AnnouncementFocus the demo to see what it exposes.
Labeling
- Headings label sections of content, not form inputs.
Keyboard Behavior
Headinghas no keyboard behavior.
Focus Behavior
- The heading itself is not focusable unless explicitly composed with a focusable element.
Screen Reader Semantics
asdetermines whether assistive technology seesh1throughh6.- Use heading levels to create a meaningful outline.
Form Semantics
Headingcan introduce a form section, but it does not replaceLabelorFieldsetLegend.
Accessibility Risks
- choosing heading levels by visual size instead of hierarchy
- skipping levels without a structural reason
- using
Headingwhere a label or legend is required