BetaPublic beta — Read the release notes
Documentation

Card

Keyboard, focus, semantic, and consumer responsibilities for Card.

Package
@solidiom/card
Version
0.0.1-next.0
Status
stable

Accessibility

Accessibility contract

Semantics

  • Renders `Root`, `Header`, `Content`, and `Footer` as `<div>` elements with `data-scope="card"` and corresponding `data-part` attributes.
  • Renders `Title` as an `<h3>` heading element, providing document outline structure.
  • Renders `Description` as a `<p>` paragraph element.
  • All parts carry `data-scope="card"` and `data-part="*"` attributes for identification.

Consumer responsibilities

  • Use Card to group logically related content and actions.
  • Ensure `Title` text is descriptive and meaningful for screen reader users.
  • If the card wraps a link or button, apply appropriate ARIA roles or semantic HTML to the interactive element inside `Content`.
  • Do not nest interactive elements directly on `Root`; place them within `Content` or `Footer`.

Not applicable

keyboard
Card is a non-interactive container element with no keyboard interactions.
focus
Card is a non-interactive container element and does not receive focus.
aria
Card relies on semantic HTML elements (h3, p) for accessibility and does not require additional ARIA attributes.

Review status: Draft — not yet reviewed

This contract describes what the primitive guarantees. Consuming products remain responsible for labels, layout, and workflow decisions that affect the final accessibility result.

Automated evidence

Axe scan summary

Passes
3
Violations
0
Incomplete
0

Latest executed scan: Aug 13, 2026, 10:47 PM

Evidence IDs: axe-card-scan-v1

Automated checks cover only the recorded fixture and do not establish complete accessibility conformance.