Accessibility
Shape from @prepared911/ui/shape exposes the same meaningful vs decorative contract as Image inline SVG. Paint tokens do not replace accessible naming.
| Mode | Props | DOM |
|---|---|---|
| Meaningful | label (LocalizedMessage); decorative omitted or false | Root svg has role="img" and aria-label from label. |
| Decorative | decorative: true | Root svg has aria-hidden="true" and focusable="false"; no role="img". |
label and decorative: true, or neither, is a type error.
DataColor alike.svg. Token paint follows the theme; vendor DataColor values are not tuned for your background. Add a token stroke outline when a mark sits on busy map or chart chrome.@media (forced-colors) overrides. High-contrast mode uses the browser default SVG painting; do not assume token colors survive unchanged.Shape does not animate path or paint; no reduced-motion hook is required on the component itself.