Canon / accessibility

rule.a11y.data-visualization-contract · draft

Make every data visualization an accessible decision contract

A chart is acceptable only when its choice, encodings, equivalent data, states, operation, and data integrity are explicit and testable.

Guidance

Before implementation, record the user question and data shape that justify the chart type. Bind each series to semantic tokens and at least one non-color cue, expose an equivalent data table, define loading, empty and error recovery, and preserve keyboard and assistive-technology access without changing or obscuring the underlying values.

Verification contract

For every chart, review the signed decision record; assert chart and table values, labels, units, ordering and filters are identical; test loading/empty/partial/error fixtures; pass automated contrast and axe checks; complete the task by keyboard and screen reader; and reject color-only distinctions or an unjustified scale/truncation.

Supporting references

Implementations and verification artifacts

No linked implementation yet.