Primary
--color-primaryoklch(54.6% 0.215 262.9)Current framework
01
02
--semantic-primary--semantic-action--semantic-surface--semantic-text--semantic-border03
--text-xs .79rem .79rem → .79rem The quick brown fox jumps over the lazy dog.
--text-s .89rem .89rem → .89rem The quick brown fox jumps over the lazy dog.
--text-m 1.125rem 1rem → 1.125rem Base The quick brown fox jumps over the lazy dog.
--text-l 1.5rem 1.125rem → 1.5rem The quick brown fox jumps over the lazy dog.
--text-xl 2rem 1.27rem → 2rem The quick brown fox jumps over the lazy dog.
--text-2xl 2.66rem 1.42rem → 2.66rem The quick brown fox jumps over the lazy dog.
--text-3xl 3.55rem 1.6rem → 3.55rem The quick brown fox jumps over the lazy dog.
--text-4xl 4.74rem 1.8rem → 4.74rem The quick brown fox jumps over the lazy dog.
04
--radius-xsvar(--radius-xs)
--radius-svar(--radius-s)
--radius-mvar(--radius-m)
--radius-lvar(--radius-l)
--radius-xlvar(--radius-xl)
--radius-fullvar(--radius-full)
05
--space-4xs.402rem--space-3xs.482rem--space-2xs.579rem--space-xs.703rem--space-s.938rem--space-m1.25rem--space-l1.666rem--space-xl2.221rem--space-2xl2.961rem--space-3xl3.947rem--space-4xl5.261remAmet consectetur
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc non blandit massa enim nec dui nunc.
Amet consectetur
Magna etiam
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vitae sapien vitae sem faucibus fermentum. Integer ut augue eget sapien vestibulum ullamcorper.
Lorem ipsumLorem ipsum dolor sit amet, consectetur adipiscing elit. Integer ut augue eget sapien vestibulum.
Viverra tellus
Viverra tellus
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent libero sed cursus ante dapibus diam.
Dolor sit ametSamen verder
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc feugiat mi a tellus consequat imperdiet.
Nulla facilisi
“Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam dignissim, lacus vel rhoncus elementum.”
Lorem ipsum 1
“Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam dignissim, lacus vel rhoncus elementum.”
Lorem ipsum 2
“Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam dignissim, lacus vel rhoncus elementum.”
Lorem ipsum 3
Amet consectetur
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsumVisual specimens show current Framework preferences. Open guidance to inspect exact AI context.
92 elements shown.
Introductory or navigational content for page or nearest section.
header draft Default treatmentKeep native header semantics; style with Framework tokens without removing browser fallback behavior.
AvoidTreat every header as page banner or nest header/footer inside it.
## Header
Status: draft — preview only; excluded from Context Export
Purpose: Introductory or navigational content for page or nearest section.
Default: Keep native header semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use page or section introduction; let scope determine landmark semantics.
Avoid: Treat every header as page banner or nest header/footer inside it. MDN reference Major navigation block.
nav draft Default treatmentKeep native nav semantics; style with Framework tokens without removing browser fallback behavior.
AvoidWrap every small link group in nav.
## Navigation
Status: draft — preview only; excluded from Context Export
Purpose: Major navigation block.
Default: Keep native nav semantics; style with Framework tokens without removing browser fallback behavior.
Use: Label multiple navigation landmarks distinctly.
Avoid: Wrap every small link group in nav. MDN reference Unique dominant page content.
main draft <main>One visible main owns unique page content.
Default treatmentKeep native main semantics; style with Framework tokens without removing browser fallback behavior.
AvoidNest main elements or place repeated site chrome inside it.
## Main
Status: draft — preview only; excluded from Context Export
Purpose: Unique dominant page content.
Default: Keep native main semantics; style with Framework tokens without removing browser fallback behavior.
Use: Render one visible main per document.
Avoid: Nest main elements or place repeated site chrome inside it. MDN reference Standalone thematic section.
section draft Related content belongs together.
Default treatmentKeep native section semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse section as styling-only wrapper; use div instead.
## Section
Status: draft — preview only; excluded from Context Export
Purpose: Standalone thematic section.
Default: Keep native section semantics; style with Framework tokens without removing browser fallback behavior.
Use: Give section a meaningful heading when it represents a region.
Avoid: Use section as styling-only wrapper; use div instead. MDN reference Self-contained reusable or distributable composition.
article draft Self-contained content with its own heading.
Default treatmentKeep native article semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse for content that depends entirely on surrounding context.
## Article
Status: draft — preview only; excluded from Context Export
Purpose: Self-contained reusable or distributable composition.
Default: Keep native article semantics; style with Framework tokens without removing browser fallback behavior.
Use: Identify article with a heading.
Avoid: Use for content that depends entirely on surrounding context. MDN reference Tangential content related to nearby or page content.
aside draft Default treatmentKeep native aside semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse only because content is visually offset.
## Aside
Status: draft — preview only; excluded from Context Export
Purpose: Tangential content related to nearby or page content.
Default: Keep native aside semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use for genuinely complementary information.
Avoid: Use only because content is visually offset. MDN reference Footer for nearest sectioning ancestor or page.
footer draft Default treatmentKeep native footer semantics; style with Framework tokens without removing browser fallback behavior.
AvoidAssume every footer is page-level contentinfo.
## Footer
Status: draft — preview only; excluded from Context Export
Purpose: Footer for nearest sectioning ancestor or page.
Default: Keep native footer semantics; style with Framework tokens without removing browser fallback behavior.
Use: Keep footer content scoped to its owning section.
Avoid: Assume every footer is page-level contentinfo. MDN reference Contact information for nearest article or page owner.
address draft Default treatmentKeep native address semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse for arbitrary postal text or publication dates.
## Address
Status: draft — preview only; excluded from Context Export
Purpose: Contact information for nearest article or page owner.
Default: Keep native address semantics; style with Framework tokens without removing browser fallback behavior.
Use: Include referenced person or organization with contact details.
Avoid: Use for arbitrary postal text or publication dates. MDN reference Search or filtering controls and related suggestions.
search draft Default treatmentKeep native search semantics; style with Framework tokens without removing browser fallback behavior.
AvoidPut search results inside search or duplicate role=search.
## Search
Status: draft — preview only; excluded from Context Export
Purpose: Search or filtering controls and related suggestions.
Default: Keep native search semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use native search landmark; provide labeled form fallback only for legacy support.
Avoid: Put search results inside search or duplicate role=search. MDN reference Top-level page heading.
h1 draft Heading level follows document hierarchy, not visual size.
Default treatmentKeep native h1 semantics; style with Framework tokens without removing browser fallback behavior.
AvoidChoose heading level for visual size.
## Heading 1
Status: draft — preview only; excluded from Context Export
Purpose: Top-level page heading.
Default: Keep native h1 semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use one clear page-level h1 in most documents.
Avoid: Choose heading level for visual size. MDN reference Second-level section heading.
h2 supported semantic.textsemantic.surfaceRatio not measured. Manual verification required.
Token swatches are contextual evidence only. Do not infer AA or AAA conformance until declared and computed colors agree.Paragraphs explain one idea at a comfortable reading width. Strong text marks important meaning without replacing hierarchy.
“Default treatments make ordinary generation predictable.” Framework guidance
Default treatmentKeep native h2 semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse for size alone.
## Heading 2
Status: supported
Purpose: Second-level section heading.
Default: Keep native h2 semantics; style with Framework tokens without removing browser fallback behavior.
Use: Follow document hierarchy without skipped levels.
Avoid: Use for size alone.
Constraints: Follow document hierarchy; do not choose level for visual size. Do not skip heading levels without structural reason.
Accessibility: Keep heading text descriptive and unique enough for heading navigation.
Semantic HTML: <h2>Section heading</h2> MDN reference Third-level section heading.
h3 draft Heading level follows document hierarchy, not visual size.
Default treatmentKeep native h3 semantics; style with Framework tokens without removing browser fallback behavior.
AvoidSkip hierarchy for appearance.
## Heading 3
Status: draft — preview only; excluded from Context Export
Purpose: Third-level section heading.
Default: Keep native h3 semantics; style with Framework tokens without removing browser fallback behavior.
Use: Nest beneath an h2-owned section.
Avoid: Skip hierarchy for appearance. MDN reference Fourth-level section heading.
h4 draft Heading level follows document hierarchy, not visual size.
Default treatmentKeep native h4 semantics; style with Framework tokens without removing browser fallback behavior.
AvoidCreate deep hierarchy without content need.
## Heading 4
Status: draft — preview only; excluded from Context Export
Purpose: Fourth-level section heading.
Default: Keep native h4 semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use only when document depth requires it.
Avoid: Create deep hierarchy without content need. MDN reference Fifth-level section heading.
h5 draft Heading level follows document hierarchy, not visual size.
Default treatmentKeep native h5 semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse as styled label.
## Heading 5
Status: draft — preview only; excluded from Context Export
Purpose: Fifth-level section heading.
Default: Keep native h5 semantics; style with Framework tokens without removing browser fallback behavior.
Use: Keep heading order logical.
Avoid: Use as styled label. MDN reference Sixth-level section heading.
h6 draft Heading level follows document hierarchy, not visual size.
Default treatmentKeep native h6 semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse as small bold text.
## Heading 6
Status: draft — preview only; excluded from Context Export
Purpose: Sixth-level section heading.
Default: Keep native h6 semantics; style with Framework tokens without removing browser fallback behavior.
Use: Reserve for genuinely deep structures.
Avoid: Use as small bold text. MDN reference Related block of prose.
p supported Regular paragraph text uses the Framework body scale and native paragraph semantics.
Default treatmentKeep native p semantics; style with Framework tokens without removing browser fallback behavior.
AvoidInsert empty paragraphs for layout.
## Paragraph
Status: supported
Purpose: Related block of prose.
Default: Keep native p semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use for regular text and let CSS control spacing.
Avoid: Insert empty paragraphs for layout.
Constraints: Contain phrasing content; use CSS rather than empty paragraphs for spacing.
Accessibility: Keep regular prose at readable measure and text-m scale.
Semantic HTML: <p>One related paragraph of regular text.</p> MDN reference Text with strong importance, seriousness, or urgency.
strong draft Save changes before closing this window.
Default treatmentKeep native strong semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse only to make text bold.
## Strong importance
Status: draft — preview only; excluded from Context Export
Purpose: Text with strong importance, seriousness, or urgency.
Default: Keep native strong semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use when importance changes meaning.
Avoid: Use only to make text bold. MDN reference Stress that changes spoken meaning.
em draft I asked for the current version.
Default treatmentKeep native em semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse only to make text italic.
## Stress emphasis
Status: draft — preview only; excluded from Context Export
Purpose: Stress that changes spoken meaning.
Default: Keep native em semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use for semantic emphasis; nesting increases emphasis.
Avoid: Use only to make text italic. MDN reference Side comments, legal text, or small print.
small draft Default treatmentKeep native small semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse as generic font-size utility.
## Side comment
Status: draft — preview only; excluded from Context Export
Purpose: Side comments, legal text, or small print.
Default: Keep native small semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use when content is semantically secondary.
Avoid: Use as generic font-size utility. MDN reference Text highlighted as relevant in current context.
mark draft Found result: semantic HTML.
Default treatmentKeep native mark semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse as importance or syntax-highlighting marker.
## Marked relevance
Status: draft — preview only; excluded from Context Export
Purpose: Text highlighted as relevant in current context.
Default: Keep native mark semantics; style with Framework tokens without removing browser fallback behavior.
Use: Ensure meaning survives without color or announcement.
Avoid: Use as importance or syntax-highlighting marker. MDN reference Abbreviation or acronym with an available expansion.
abbr draft WCAG 2.2 guidance
Default treatmentKeep native abbr semantics; style with Framework tokens without removing browser fallback behavior.
AvoidRely on hover tooltip as sole explanation.
## Abbreviation
Status: draft — preview only; excluded from Context Export
Purpose: Abbreviation or acronym with an available expansion.
Default: Keep native abbr semantics; style with Framework tokens without removing browser fallback behavior.
Use: Expand visibly on first use; title is secondary help only.
Avoid: Rely on hover tooltip as sole explanation. MDN reference Machine-readable date, time, or duration.
time draft Default treatmentKeep native time semantics; style with Framework tokens without removing browser fallback behavior.
AvoidEncode ambiguous or invalid date strings.
## Time
Status: draft — preview only; excluded from Context Export
Purpose: Machine-readable date, time, or duration.
Default: Keep native time semantics; style with Framework tokens without removing browser fallback behavior.
Use: Provide valid datetime value.
Avoid: Encode ambiguous or invalid date strings. MDN reference Extended quotation from another source.
blockquote supported Good defaults reduce unnecessary decisions.
Default treatmentKeep native blockquote semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse for indentation alone or hide attribution in cite attribute.
## Block quotation
Status: supported
Purpose: Extended quotation from another source.
Default: Keep native blockquote semantics; style with Framework tokens without removing browser fallback behavior.
Use: Provide visible attribution or source link when relevant.
Avoid: Use for indentation alone or hide attribution in cite attribute.
Constraints: Use only for extended quotations, never indentation. Provide visible attribution or source link when relevant.
Accessibility: Do not rely on the cite attribute as user-visible attribution.
Semantic HTML: <blockquote><p>Quoted material.</p><footer>— <a href="/source">Visible source</a></footer></blockquote> MDN reference Short inline quotation.
q draft The review called it clear and reusable
.
Default treatmentKeep native q semantics; style with Framework tokens without removing browser fallback behavior.
AvoidType duplicate quotation marks around q.
## Inline quotation
Status: draft — preview only; excluded from Context Export
Purpose: Short inline quotation.
Default: Keep native q semantics; style with Framework tokens without removing browser fallback behavior.
Use: Let browser supply quotation marks.
Avoid: Type duplicate quotation marks around q. MDN reference Title of a cited creative work.
cite draft Read HTML Living Standard.
Default treatmentKeep native cite semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse as author attribution merely for italics.
## Citation title
Status: draft — preview only; excluded from Context Export
Purpose: Title of a cited creative work.
Default: Keep native cite semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use for work title, not generic author name.
Avoid: Use as author attribution merely for italics. MDN reference Short computer-code fragment.
code draft Use button type="button" for interface actions.
Default treatmentKeep native code semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse for generic monospace styling.
## Code
Status: draft — preview only; excluded from Context Export
Purpose: Short computer-code fragment.
Default: Keep native code semantics; style with Framework tokens without removing browser fallback behavior.
Use: Escape HTML-sensitive characters; combine with pre for blocks.
Avoid: Use for generic monospace styling. MDN reference Whitespace-preserved text.
pre draft .card {
display: grid;
}Default treatmentKeep native pre semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse for layout alignment.
## Preformatted text
Status: draft — preview only; excluded from Context Export
Purpose: Whitespace-preserved text.
Default: Keep native pre semantics; style with Framework tokens without removing browser fallback behavior.
Use: Control overflow and provide alternatives for ASCII art.
Avoid: Use for layout alignment. MDN reference User input from keyboard, voice, or another device.
kbd draft Press Ctrl + K to search.
Default treatmentKeep native kbd semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse for arbitrary monospace labels.
## Keyboard input
Status: draft — preview only; excluded from Context Export
Purpose: User input from keyboard, voice, or another device.
Default: Keep native kbd semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use for actual commands or keys.
Avoid: Use for arbitrary monospace labels. MDN reference Thematic break or topic shift.
hr draft First topic.
New topic.
Default treatmentKeep native hr semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse as decorative line; use CSS instead.
## Thematic break
Status: draft — preview only; excluded from Context Export
Purpose: Thematic break or topic shift.
Default: Keep native hr semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use when content meaning changes.
Avoid: Use as decorative line; use CSS instead. MDN reference Items whose order has no meaning.
ul draft Default treatmentKeep native ul semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse only for indentation.
## Unordered list
Status: draft — preview only; excluded from Context Export
Purpose: Items whose order has no meaning.
Default: Keep native ul semantics; style with Framework tokens without removing browser fallback behavior.
Use: Keep li as direct semantic children; nest lists inside owning li.
Avoid: Use only for indentation. MDN reference Items whose sequence or rank matters.
ol draft Default treatmentKeep native ol semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse when order is irrelevant.
## Ordered list
Status: draft — preview only; excluded from Context Export
Purpose: Items whose sequence or rank matters.
Default: Keep native ol semantics; style with Framework tokens without removing browser fallback behavior.
Use: Preserve meaningful order; use start/reversed/value only when needed.
Avoid: Use when order is irrelevant. MDN reference Item within ul or ol.
li draft Default treatmentKeep native li semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse outside ul or ol.
## List item
Status: draft — preview only; excluded from Context Export
Purpose: Item within ul or ol.
Default: Keep native li semantics; style with Framework tokens without removing browser fallback behavior.
Use: Place inside a list parent.
Avoid: Use outside ul or ol. MDN reference Term-description or name-value groups.
dl draft Default treatmentKeep native dl semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse for visual indentation.
## Description list
Status: draft — preview only; excluded from Context Export
Purpose: Term-description or name-value groups.
Default: Keep native dl semantics; style with Framework tokens without removing browser fallback behavior.
Use: Order one or more dt then one or more dd.
Avoid: Use for visual indentation. MDN reference Term or name within a description list.
dt draft Default treatmentKeep native dt semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse outside dl.
## Description term
Status: draft — preview only; excluded from Context Export
Purpose: Term or name within a description list.
Default: Keep native dt semantics; style with Framework tokens without removing browser fallback behavior.
Use: Place inside dl before associated dd.
Avoid: Use outside dl. MDN reference Description or value for preceding term group.
dd draft Default treatmentKeep native dd semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse outside dl or before its term.
## Description details
Status: draft — preview only; excluded from Context Export
Purpose: Description or value for preceding term group.
Default: Keep native dd semantics; style with Framework tokens without removing browser fallback behavior.
Use: Place inside dl after associated dt.
Avoid: Use outside dl or before its term. MDN reference Navigation to a real URL or destination.
a supported semantic.textsemantic.surfaceRatio not measured. Manual verification required.
Token swatches are contextual evidence only. Do not infer AA or AAA conformance until declared and computed colors agree.Default treatmentKeep native a semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse # or javascript URLs for actions; nest interactive controls.
## Link
Status: supported
Purpose: Navigation to a real URL or destination.
Default: Keep native a semantics; style with Framework tokens without removing browser fallback behavior.
Use: Provide real href and label destination clearly out of context.
Avoid: Use # or javascript URLs for actions; nest interactive controls.
Constraints: Use a real href destination; no nested interactive content. Link label must describe destination out of context.
Accessibility: Preserve native focus and Enter activation. Announce new-tab or download behavior before activation.
Semantic HTML: <a href="/elements">Browse element guidance</a> MDN reference Submit or execute an action in current interface.
button supported Default treatmentKeep native button semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse for navigation or omit type inside form.
## Button
Status: supported
Purpose: Submit or execute an action in current interface.
Default: Keep native button semantics; style with Framework tokens without removing browser fallback behavior.
Use: Set explicit type and accessible name; preserve visible focus.
Avoid: Use for navigation or omit type inside form.
Constraints: Set an explicit type; button submits by default inside forms. Use for actions, not navigation.
Accessibility: Provide an accessible name, including icon-only buttons. Preserve visible focus and native keyboard activation.
Semantic HTML: <button type="button">Save preference</button> MDN reference Image with meaningful alternative contract.
img draft Default treatmentKeep native img semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse filename as alt or omit width/height when known.
## Image
Status: draft — preview only; excluded from Context Export
Purpose: Image with meaningful alternative contract.
Default: Keep native img semantics; style with Framework tokens without removing browser fallback behavior.
Use: Write purpose-based alt; use empty alt only for decorative images.
Avoid: Use filename as alt or omit width/height when known. MDN reference Art direction or format alternatives around one img.
picture draft Default treatmentKeep native picture semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse without img fallback.
## Responsive picture
Status: draft — preview only; excluded from Context Export
Purpose: Art direction or format alternatives around one img.
Default: Keep native picture semantics; style with Framework tokens without removing browser fallback behavior.
Use: Keep img fallback and alt as final child.
Avoid: Use without img fallback. MDN reference Alternative resource for picture, audio, or video.
source draft <picture> <source media="…" srcset="…"> <img alt="…"> </picture>Source supplies candidates; img owns fallback and alternative text.
Default treatmentKeep native source semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse standalone or add alt to source instead of img.
## Media source
Status: draft — preview only; excluded from Context Export
Purpose: Alternative resource for picture, audio, or video.
Default: Keep native source semantics; style with Framework tokens without removing browser fallback behavior.
Use: Place inside supported media parent; order candidates intentionally.
Avoid: Use standalone or add alt to source instead of img. MDN reference Self-contained media or illustration referenced as one unit.
figure supported semantic.textsemantic.surfaceRatio not measured. Manual verification required.
Token swatches are contextual evidence only. Do not infer AA or AAA conformance until declared and computed colors agree.Default treatmentKeep native figure semantics; style with Framework tokens without removing browser fallback behavior.
AvoidWrap every image regardless of relationship.
## Figure
Status: supported
Purpose: Self-contained media or illustration referenced as one unit.
Default: Keep native figure semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use when content can move independently from prose.
Avoid: Wrap every image regardless of relationship.
Constraints: Use for self-contained content that can move independently. Include no more than one figcaption.
Accessibility: Give embedded media its own required alternative text; figure grouping does not replace it.
Semantic HTML: <figure><img src="chart.svg" alt="Quarterly trend rises"><figcaption>Quarterly trend.</figcaption></figure> MDN reference Visible caption for its parent figure.
figcaption supported Default treatmentKeep native figcaption semantics; style with Framework tokens without removing browser fallback behavior.
AvoidAssume figcaption replaces alt text.
## Figure caption
Status: supported
Purpose: Visible caption for its parent figure.
Default: Keep native figcaption semantics; style with Framework tokens without removing browser fallback behavior.
Use: Keep caption concise; retain img alt for image purpose.
Avoid: Assume figcaption replaces alt text.
Constraints: Place as first or last child of figure. Caption explains context; it does not replace img alt.
Accessibility: Keep caption visible and retain purpose-based alternative text on media.
Semantic HTML: <figure><img src="chart.svg" alt="Quarterly trend rises"><figcaption>Quarterly trend.</figcaption></figure> MDN reference Embedded audio playback.
audio draft Default treatmentKeep native audio semantics; style with Framework tokens without removing browser fallback behavior.
AvoidAutoplay audible media or omit alternative content.
## Audio
Status: draft — preview only; excluded from Context Export
Purpose: Embedded audio playback.
Default: Keep native audio semantics; style with Framework tokens without removing browser fallback behavior.
Use: Provide controls, fallback text, and transcript where content requires it.
Avoid: Autoplay audible media or omit alternative content. MDN reference Embedded video playback.
video draft Default treatmentKeep native video semantics; style with Framework tokens without removing browser fallback behavior.
AvoidAutoplay with sound or rely on visuals alone.
## Video
Status: draft — preview only; excluded from Context Export
Purpose: Embedded video playback.
Default: Keep native video semantics; style with Framework tokens without removing browser fallback behavior.
Use: Provide controls, captions, transcript or audio description as required.
Avoid: Autoplay with sound or rely on visuals alone. MDN reference Captions, subtitles, descriptions, chapters, or metadata for media.
track draft <track kind="captions" srclang="en" label="English">Reviewed captions accompany spoken media.
Default treatmentKeep native track semantics; style with Framework tokens without removing browser fallback behavior.
AvoidTreat auto-generated captions as unreviewed final copy.
## Timed text track
Status: draft — preview only; excluded from Context Export
Purpose: Captions, subtitles, descriptions, chapters, or metadata for media.
Default: Keep native track semantics; style with Framework tokens without removing browser fallback behavior.
Use: Declare kind, srclang, label; include usable captions for spoken content.
Avoid: Treat auto-generated captions as unreviewed final copy. MDN reference Two-dimensional data with row and column relationships.
table supported semantic.textsemantic.surfaceRatio not measured. Manual verification required.
Token swatches are contextual evidence only. Do not infer AA or AAA conformance until declared and computed colors agree.| Format | Purpose | Status |
|---|---|---|
| Markdown | AI context | Planned |
| CSS | Implementation | Ready |
Default treatmentKeep native table semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse table for page layout.
## Table
Status: supported
Purpose: Two-dimensional data with row and column relationships.
Default: Keep native table semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use caption and structural header cells for real data.
Avoid: Use table for page layout.
Constraints: Use for two-dimensional data, never page layout. Provide caption, real header cells, and meaningful row groups.
Accessibility: Preserve table semantics inside responsive wrappers; do not convert cells to generic display blocks.
Semantic HTML: <table><caption>Token status</caption><thead><tr><th scope="col">Token</th><th scope="col">Status</th></tr></thead><tbody><tr><td>Color</td><td>Supported</td></tr></tbody></table> MDN reference Accessible title or description for a table.
caption draft | Color | OKLCH |
|---|
Default treatmentKeep native caption semantics; style with Framework tokens without removing browser fallback behavior.
AvoidReplace with visually nearby text lacking association.
## Table caption
Status: draft — preview only; excluded from Context Export
Purpose: Accessible title or description for a table.
Default: Keep native caption semantics; style with Framework tokens without removing browser fallback behavior.
Use: Place as first child of table.
Avoid: Replace with visually nearby text lacking association. MDN reference Group of table header rows.
thead draft | Element | Status |
|---|---|
| button | Supported |
Default treatmentKeep native thead semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse only for styling without table semantics.
## Table head
Status: draft — preview only; excluded from Context Export
Purpose: Group of table header rows.
Default: Keep native thead semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use for structural row grouping.
Avoid: Use only for styling without table semantics. MDN reference Primary row group in a table.
tbody draft | button | Supported |
|---|---|
| dialog | Supported |
Default treatmentKeep native tbody semantics; style with Framework tokens without removing browser fallback behavior.
AvoidSplit rows arbitrarily for appearance.
## Table body
Status: draft — preview only; excluded from Context Export
Purpose: Primary row group in a table.
Default: Keep native tbody semantics; style with Framework tokens without removing browser fallback behavior.
Use: Group related data rows.
Avoid: Split rows arbitrarily for appearance. MDN reference Summary or footer row group.
tfoot draft | Reviewed | 15 |
| Total | 99 |
|---|
Default treatmentKeep native tfoot semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse for unrelated notes.
## Table foot
Status: draft — preview only; excluded from Context Export
Purpose: Summary or footer row group.
Default: Keep native tfoot semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use for totals or stable summaries.
Avoid: Use for unrelated notes. MDN reference Row of cells in a table.
tr draft | One row | Related value |
|---|
Default treatmentKeep native tr semantics; style with Framework tokens without removing browser fallback behavior.
AvoidPlace outside table row groups.
## Table row
Status: draft — preview only; excluded from Context Export
Purpose: Row of cells in a table.
Default: Keep native tr semantics; style with Framework tokens without removing browser fallback behavior.
Use: Keep cells aligned with table structure.
Avoid: Place outside table row groups. MDN reference Header for a row, column, or group of cells.
th supported | Status | Supported |
|---|
Default treatmentKeep native th semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse td styled bold as semantic header.
## Table header cell
Status: supported
Purpose: Header for a row, column, or group of cells.
Default: Keep native th semantics; style with Framework tokens without removing browser fallback behavior.
Use: Set scope when relationship is not obvious; use headers/id for complex tables.
Avoid: Use td styled bold as semantic header.
Constraints: Use for row or column headers, not bold data. Set scope when relationships are not immediately obvious.
Accessibility: Use id/headers for complex tables where scope cannot express the relationship.
Semantic HTML: <tr><th scope="row">Color</th><td>Supported</td></tr> MDN reference Data cell within a table row.
td supported | Status | Draft |
|---|
Default treatmentKeep native td semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse outside tr.
## Table data cell
Status: supported
Purpose: Data cell within a table row.
Default: Keep native td semantics; style with Framework tokens without removing browser fallback behavior.
Use: Keep cell relationship clear through headers.
Avoid: Use outside tr.
Constraints: Place inside tr and use only for data cells. Keep spans from creating ambiguous header relationships.
Accessibility: Ensure each data cell remains associated with its relevant headers.
Semantic HTML: <tr><th scope="row">Color</th><td>Supported</td></tr> MDN reference Visible value paired with machine-readable value.
data draft Framework starter
Default treatmentKeep native data semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse for dates; use time instead.
## Machine-readable data
Status: draft — preview only; excluded from Context Export
Purpose: Visible value paired with machine-readable value.
Default: Keep native data semantics; style with Framework tokens without removing browser fallback behavior.
Use: Provide value attribute matching content meaning.
Avoid: Use for dates; use time instead. MDN reference Known scalar value within a bounded range.
meter draft Default treatmentKeep native meter semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse as task progress indicator.
## Scalar measurement
Status: draft — preview only; excluded from Context Export
Purpose: Known scalar value within a bounded range.
Default: Keep native meter semantics; style with Framework tokens without removing browser fallback behavior.
Use: Provide min/max/value and visible label.
Avoid: Use as task progress indicator. MDN reference Completion progress for a task.
progress draft Default treatmentKeep native progress semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse as generic meter or decorative bar.
## Progress
Status: draft — preview only; excluded from Context Export
Purpose: Completion progress for a task.
Default: Keep native progress semantics; style with Framework tokens without removing browser fallback behavior.
Use: Provide max/value or omit value for indeterminate state; label it.
Avoid: Use as generic meter or decorative bar. MDN reference Controls that submit or process related user data.
form draft Default treatmentKeep native form semantics; style with Framework tokens without removing browser fallback behavior.
AvoidNest forms or use as styling wrapper.
## Form
Status: draft — preview only; excluded from Context Export
Purpose: Controls that submit or process related user data.
Default: Keep native form semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use meaningful action/method and logical control grouping.
Avoid: Nest forms or use as styling wrapper. MDN reference Accessible label for a form control.
label supported Default treatmentKeep native label semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse placeholder as label.
## Label
Status: supported
Purpose: Accessible label for a form control.
Default: Keep native label semantics; style with Framework tokens without removing browser fallback behavior.
Use: Associate explicitly with for/id or wrap the control.
Avoid: Use placeholder as label.
Constraints: Associate label explicitly with a unique control id or wrap the control. Do not use placeholder text as the label.
Accessibility: Keep labels visible and descriptive; avoid unrelated interactive content inside.
Semantic HTML: <label for="email">Email address</label><input id="email" type="email"> MDN reference Native single-value form control selected by type.
input supported semantic.textsemantic.surfaceRatio not measured. Manual verification required.
Token swatches are contextual evidence only. Do not infer AA or AAA conformance until declared and computed colors agree.Default treatmentKeep native input semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse text for every input or remove native focus.
## Input
Status: supported
Purpose: Native single-value form control selected by type.
Default: Keep native input semantics; style with Framework tokens without removing browser fallback behavior.
Use: Choose correct type, name, autocomplete, and label.
Avoid: Use text for every input or remove native focus.
Constraints: Choose a type matching the data; provide name and autocomplete where meaningful. Validation must also run on the server.
Accessibility: Every visible input needs a programmatic label and associated error/help text when needed. Preserve native focus and type-specific keyboard behavior.
Semantic HTML: <label for="email">Email address</label><input id="email" name="email" type="email" autocomplete="email"> MDN reference Multi-line plain-text input.
textarea draft Default treatmentKeep native textarea semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse content attribute for initial value.
## Textarea
Status: draft — preview only; excluded from Context Export
Purpose: Multi-line plain-text input.
Default: Keep native textarea semantics; style with Framework tokens without removing browser fallback behavior.
Use: Provide label and expected format or length guidance.
Avoid: Use content attribute for initial value. MDN reference Native single-choice or multi-choice option control.
select supported Default treatmentKeep native select semantics; style with Framework tokens without removing browser fallback behavior.
AvoidReplace native select without equivalent keyboard behavior.
## Select
Status: supported
Purpose: Native single-choice or multi-choice option control.
Default: Keep native select semantics; style with Framework tokens without removing browser fallback behavior.
Use: Provide label; group long option sets when useful.
Avoid: Replace native select without equivalent keyboard behavior.
Constraints: Use for constrained choices; options need concise labels and truthful values. Prefer native select unless custom behavior has a demonstrated need.
Accessibility: Associate a visible label and retain native keyboard/menu behavior.
Semantic HTML: <label for="intent">Intent</label><select id="intent"><option>Browse</option><option>Act</option></select> MDN reference Labeled group of related options.
optgroup draft Default treatmentKeep native optgroup semantics; style with Framework tokens without removing browser fallback behavior.
AvoidNest optgroup or make it selectable.
## Option group
Status: draft — preview only; excluded from Context Export
Purpose: Labeled group of related options.
Default: Keep native optgroup semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use label and place within select.
Avoid: Nest optgroup or make it selectable. MDN reference Selectable choice within select, optgroup, or datalist.
option draft Default treatmentKeep native option semantics; style with Framework tokens without removing browser fallback behavior.
AvoidPut arbitrary interactive content inside.
## Option
Status: draft — preview only; excluded from Context Export
Purpose: Selectable choice within select, optgroup, or datalist.
Default: Keep native option semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use clear concise label and value.
Avoid: Put arbitrary interactive content inside. MDN reference Group of related form controls.
fieldset draft Default treatmentKeep native fieldset semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse only for visual border.
## Fieldset
Status: draft — preview only; excluded from Context Export
Purpose: Group of related form controls.
Default: Keep native fieldset semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use legend as first child for shared question/context.
Avoid: Use only for visual border. MDN reference Caption for a fieldset group.
legend draft Default treatmentKeep native legend semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse outside fieldset.
## Legend
Status: draft — preview only; excluded from Context Export
Purpose: Caption for a fieldset group.
Default: Keep native legend semantics; style with Framework tokens without removing browser fallback behavior.
Use: Make first child of fieldset and describe group.
Avoid: Use outside fieldset. MDN reference Suggested values for a compatible input.
datalist draft Default treatmentKeep native datalist semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse as required select replacement; support remains limited.
## Datalist
Status: draft — preview only; excluded from Context Export
Purpose: Suggested values for a compatible input.
Default: Keep native datalist semantics; style with Framework tokens without removing browser fallback behavior.
Use: Treat as enhancement with typed-input fallback; test browser/AT support.
Avoid: Use as required select replacement; support remains limited. MDN reference Result of a calculation or user action.
output draft Default treatmentKeep native output semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse for static text.
## Output
Status: draft — preview only; excluded from Context Export
Purpose: Result of a calculation or user action.
Default: Keep native output semantics; style with Framework tokens without removing browser fallback behavior.
Use: Associate inputs with for and announce updates only when needed.
Avoid: Use for static text. MDN reference Native expandable disclosure.
details supported semantic.textsemantic.surfaceRatio not measured. Manual verification required.
Token swatches are contextual evidence only. Do not infer AA or AAA conformance until declared and computed colors agree.Only during an explicit Exploration or when the person directly requests an exception.
Default treatmentKeep native details semantics; style with Framework tokens without removing browser fallback behavior.
AvoidAdd custom keyboard handlers already supplied natively.
## Details
Status: supported
Purpose: Native expandable disclosure.
Default: Keep native details semantics; style with Framework tokens without removing browser fallback behavior.
Use: Use summary as first child with clear state-independent label.
Avoid: Add custom keyboard handlers already supplied natively.
Constraints: Use summary as first child with a clear state-independent label. Do not add duplicate custom keyboard handling.
Accessibility: Preserve native focus, Enter, and Space behavior; Escape-to-close is not required.
Semantic HTML: <details><summary>Review guidance</summary><p>Disclosure content.</p></details> MDN reference Visible disclosure label for details.
summary draft Native disclosure content.
Default treatmentKeep native summary semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse outside details as generic heading.
## Summary
Status: draft — preview only; excluded from Context Export
Purpose: Visible disclosure label for details.
Default: Keep native summary semantics; style with Framework tokens without removing browser fallback behavior.
Use: Place as first child of details and preserve focus indication.
Avoid: Use outside details as generic heading. MDN reference Modal or non-modal dialog requiring explicit user interaction.
dialog supported semantic.textsemantic.surfaceRatio not measured. Manual verification required.
Token swatches are contextual evidence only. Do not infer AA or AAA conformance until declared and computed colors agree.Default treatmentKeep native dialog semantics; style with Framework tokens without removing browser fallback behavior.
AvoidUse div role=dialog when native dialog works or trap focus manually without need.
## Dialog
Status: supported
Purpose: Modal or non-modal dialog requiring explicit user interaction.
Default: Keep native dialog semantics; style with Framework tokens without removing browser fallback behavior.
Use: Open modal with showModal, provide visible close action, support Escape, avoid tabindex on dialog.
Avoid: Use div role=dialog when native dialog works or trap focus manually without need.
Constraints: Open modal interactions with showModal; include a visible close action. Do not add tabindex to dialog.
Accessibility: Preserve native Escape behavior for modal dialogs and restore focus to the invoker. Move initial focus intentionally to the most relevant control.
Semantic HTML: <dialog><h2>Confirm Promotion</h2><form method="dialog"><button>Close</button></form></dialog> MDN reference Single-line plain text.
input[type="text"] draft Default treatmentUse native input type=text behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidUse when a specialized input type communicates intent better.
## Input: text
Status: draft — preview only; excluded from Context Export
Purpose: Single-line plain text.
Default: Use native input type=text behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Use for unconstrained short text; add autocomplete where meaningful.
Avoid: Use when a specialized input type communicates intent better. MDN reference Email address.
input[type="email"] draft Default treatmentUse native input type=email behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidAssume browser validation proves deliverability.
## Input: email
Status: draft — preview only; excluded from Context Export
Purpose: Email address.
Default: Use native input type=email behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Use email type, label, autocomplete=email, and server validation.
Avoid: Assume browser validation proves deliverability. MDN reference Telephone number.
input[type="tel"] draft Default treatmentUse native input type=tel behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidUse number type for phone numbers.
## Input: tel
Status: draft — preview only; excluded from Context Export
Purpose: Telephone number.
Default: Use native input type=tel behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Use tel type and autocomplete=tel; describe accepted format.
Avoid: Use number type for phone numbers. MDN reference Web address.
input[type="url"] draft Default treatmentUse native input type=url behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidUse for free-form text.
## Input: url
Status: draft — preview only; excluded from Context Export
Purpose: Web address.
Default: Use native input type=url behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Use url type for absolute URLs and clarify expected format.
Avoid: Use for free-form text. MDN reference Search query.
input[type="search"] draft Default treatmentUse native input type=search behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidTreat as results container.
## Input: search
Status: draft — preview only; excluded from Context Export
Purpose: Search query.
Default: Use native input type=search behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Use search type inside a labeled search form.
Avoid: Treat as results container. MDN reference Password.
input[type="password"] draft Default treatmentUse native input type=password behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidDisable paste or expose value without intentional control.
## Input: password
Status: draft — preview only; excluded from Context Export
Purpose: Password.
Default: Use native input type=password behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Use current-password or new-password autocomplete as appropriate.
Avoid: Disable paste or expose value without intentional control. MDN reference Numeric value with stepper semantics.
input[type="number"] draft Default treatmentUse native input type=number behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidUse for credit cards, postal codes, phone numbers, or identifiers.
## Input: number
Status: draft — preview only; excluded from Context Export
Purpose: Numeric value with stepper semantics.
Default: Use native input type=number behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Use for quantities where increment/decrement makes sense.
Avoid: Use for credit cards, postal codes, phone numbers, or identifiers. MDN reference Approximate numeric value.
input[type="range"] draft Default treatmentUse native input type=range behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidUse when exact typed value is required.
## Input: range
Status: draft — preview only; excluded from Context Export
Purpose: Approximate numeric value.
Default: Use native input type=range behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Provide accessible label and visible current value when precision matters.
Avoid: Use when exact typed value is required. MDN reference Calendar date.
input[type="date"] draft Default treatmentUse native input type=date behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidAssume locale display format equals submitted value.
## Input: date
Status: draft — preview only; excluded from Context Export
Purpose: Calendar date.
Default: Use native input type=date behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Provide visible label and robust server-side parsing.
Avoid: Assume locale display format equals submitted value. MDN reference Time of day.
input[type="time"] draft Default treatmentUse native input type=time behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidUse for durations.
## Input: time
Status: draft — preview only; excluded from Context Export
Purpose: Time of day.
Default: Use native input type=time behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Clarify timezone or locale context when relevant.
Avoid: Use for durations. MDN reference Local date and time.
input[type="datetime-local"] draft Default treatmentUse native input type=datetime-local behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidRepresent a global instant without timezone guidance.
## Input: datetime-local
Status: draft — preview only; excluded from Context Export
Purpose: Local date and time.
Default: Use native input type=datetime-local behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Use only when timezone is intentionally absent.
Avoid: Represent a global instant without timezone guidance. MDN reference Month and year.
input[type="month"] draft Default treatmentUse native input type=month behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidUse when exact day is required.
## Input: month
Status: draft — preview only; excluded from Context Export
Purpose: Month and year.
Default: Use native input type=month behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Use for month-granularity values and provide fallback expectations.
Avoid: Use when exact day is required. MDN reference Week and year.
input[type="week"] draft Default treatmentUse native input type=week behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidAssume all locales share week conventions.
## Input: week
Status: draft — preview only; excluded from Context Export
Purpose: Week and year.
Default: Use native input type=week behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Use only when week numbering matches domain needs.
Avoid: Assume all locales share week conventions. MDN reference Independent boolean or multi-select choice.
input[type="checkbox"] draft Default treatmentUse native input type=checkbox behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidUse radio when exactly one option is allowed.
## Input: checkbox
Status: draft — preview only; excluded from Context Export
Purpose: Independent boolean or multi-select choice.
Default: Use native input type=checkbox behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Use checked state with visible label; group related choices.
Avoid: Use radio when exactly one option is allowed. MDN reference One choice from a set.
input[type="radio"] draft Default treatmentUse native input type=radio behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidRender isolated unlabeled radio buttons.
## Input: radio
Status: draft — preview only; excluded from Context Export
Purpose: One choice from a set.
Default: Use native input type=radio behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Share name, group in fieldset, and provide legend.
Avoid: Render isolated unlabeled radio buttons. MDN reference File upload.
input[type="file"] draft Default treatmentUse native input type=file behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidRely only on accept for security validation.
## Input: file
Status: draft — preview only; excluded from Context Export
Purpose: File upload.
Default: Use native input type=file behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: State accepted formats and size; validate on server.
Avoid: Rely only on accept for security validation. MDN reference Color value.
input[type="color"] draft Default treatmentUse native input type=color behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidUse as sole accessible representation of chosen color.
## Input: color
Status: draft — preview only; excluded from Context Export
Purpose: Color value.
Default: Use native input type=color behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Use when native color selection is acceptable and provide textual value where needed.
Avoid: Use as sole accessible representation of chosen color. MDN reference Submit control.
input[type="submit"] draft Default treatmentUse native input type=submit behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidUse multiple ambiguous submit actions.
## Input: submit
Status: draft — preview only; excluded from Context Export
Purpose: Submit control.
Default: Use native input type=submit behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Use explicit value or accessible name; prefer button when rich content needed.
Avoid: Use multiple ambiguous submit actions. MDN reference Reset control.
input[type="reset"] draft Default treatmentUse native input type=reset behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidPlace near submit where accidental activation is likely.
## Input: reset
Status: draft — preview only; excluded from Context Export
Purpose: Reset control.
Default: Use native input type=reset behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Use rarely and clearly distinguish from submit.
Avoid: Place near submit where accidental activation is likely. MDN reference Generic button input.
input[type="button"] draft Default treatmentUse native input type=button behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidOmit scripted action or accessible name.
## Input: button
Status: draft — preview only; excluded from Context Export
Purpose: Generic button input.
Default: Use native input type=button behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Use button element instead for richer accessible content.
Avoid: Omit scripted action or accessible name. MDN reference Image submit control.
input[type="image"] draft Default treatmentUse native input type=image behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
AvoidUse for decorative image buttons.
## Input: image
Status: draft — preview only; excluded from Context Export
Purpose: Image submit control.
Default: Use native input type=image behavior; apply Framework control tokens while preserving focus, label, and validation semantics.
Use: Provide alt describing action and submit-coordinate behavior intentionally.
Avoid: Use for decorative image buttons. MDN reference No Element Guidance matches this search.