Module
Accessibility
Cross-platform semantic accessibility contract, with explicit native-first ARIA mappings.
Raw schema: /schema/1.0/modules/accessibility.schema.json
name
type: string | object
No object properties on this definition.
focus
type: object
| Property | Type | Required | Constraints |
|---|---|---|---|
strategy | "natural" | "roving" | "active-descendant" | "programmatic" | "none" | no | — |
trap | boolean | no | — |
restoreOnClose | boolean | no | — |
restore | boolean | no | — |
initial | string | no | minLength 1 |
order | array<id> | no | — |
activation | "automatic" | "manual" | no | — |
visible | boolean | no | — |
relationships
type: object
| Property | Type | Required | Constraints |
|---|---|---|---|
controls | id | array<id> | no | — |
describedBy | id | array<id> | no | — |
details | id | array<id> | no | — |
flowTo | id | array<id> | no | — |
labelledBy | id | array<id> | no | — |
owns | id | array<id> | no | — |
activeDescendant | id | no | — |
accessibility
type: object
| Property | Type | Required | Constraints |
|---|---|---|---|
semanticRole | taxonomy | no | — |
role | taxonomy | no | — |
name | name | no | — |
description | string | name | no | minLength 1 |
labelRequired | boolean | no | — |
decorative | boolean | no | — |
hidden | boolean | no | — |
states | object | no | — |
properties | object | no | — |
relationships | relationships | no | — |
focus | focus | no | — |
keyboard | object | no | — |
inputModalities | array<"keyboard" | "pointer" | "touch" | "voice" | "switch" | "gamepad" | "spatial"> | no | — |
readingOrder | array<id> | no | — |
live | object | no | — |
textScaling | object | no | — |
contrast | object | no | — |
reducedMotion | "respect" | "remove" | "reduce" | "substitute" | no | — |
targetSize | object | no | — |
aria | object | no | — |
platformMappings | object | no | — |
motionPolicy | object | no | — |
conformance | "WCAG-2.2-A" | "WCAG-2.2-AA" | "WCAG-2.2-AAA" | no | — |
extensions | extensions | no | — |