Markdown
v0.64.0, changelogBetaA model's answer in Markdown as the kit's elements, with no dependency: a safe subset (raw HTML as text, http(s) and mailto links only) that parses a growing text without flashing.
Roles
What a screen reader is told each part is, measured in the examples on the Overview tab.
buttoncellcolumnheadergroupimglinklistitemregionrowrowgrouptable
- Follows the WAI-ARIA pattern Table.
- Announces changes through a live region, so a screen reader reads an update without focus moving to it.
Keyboard
| Keys | Action |
|---|---|
| Tab | Move through the links, each code block's Copy and scroll box, and each table's scroll box |
| ← / → | Scroll a focused code block or table sideways |
| Enter | Follow a link (a new tab for http(s), said to screen readers) |
Colour contrast
Computed from the shipped theme for the colours this component uses, on page and card backgrounds; the lower of the two is shown. WCAG 2.2 AA.
- TextLabels, values, bodyWCAG 1.4.3 Contrast (Minimum)Needs 4.5:1Light 17.3:1Dark 17.3:1
- Secondary textHints, meta, captionsWCAG 1.4.3 Contrast (Minimum)Needs 4.5:1Light 6.7:1Dark 7.0:1
- Keyboard focus ringFocus visible, on every control in itWCAG 1.4.11 Non-text ContrastNeeds 3:1Light 17.3:1Dark 17.3:1