Accessibility
Native semantics, centralized font scaling, Reduced Motion, localizable strings, and accessible ARCUI interaction patterns.
Accessibility is part of ARCUI component architecture, not a final visual pass.
Native semantics first
Interactive ARCUI components expose the appropriate native role and semantic state where their contract requires it.
Examples include:
- disabled/busy action state;
- checked or selected state;
- expanded/collapsed disclosure state;
- adjustable Slider value state;
- text-input semantics and validation feedback;
- modal/dialog dismissal behavior.
Semantic accessibility state follows real React-owned state, not intermediate animation progress.
Accessible names belong to the action
Icon-only actions need a meaningful accessible name.
<Header
actions={[
{
icon: "search",
accessibilityLabel: "Search",
onPress: openSearch,
},
]}
/>Decorative icons should not create duplicate screen-reader content.
Consumer accessibility overrides should win where they are safe and do not violate the semantic invariant of the component.
Avoid generic gesture instructions
ARCUI does not permanently hardcode generic hints such as “Double tap to activate” when the native role and state already communicate the interaction.
Use accessibilityHint when the result of an action is not obvious from its accessible name and role, not as a replacement for native semantics.
Centralized font scaling
ARCUI-managed typography uses the provider's central fontScale SharedValue.
Library-owned text disables duplicate native font scaling internally because ARCUI already applies the shared scale.
The scale is capped by:
tokens.typography.maxFontSizeMultiplierLarge-text accessibility testing must include the surrounding layout, not only the font size itself.
Reduced Motion
Animated ARCUI components respect the system Reduced Motion preference.
Reduced Motion changes visual transition behavior; it does not remove semantic state changes or functionality.
A disabled animation must not leave a component semantically “half open”, “half selected”, or otherwise tied to visual progress.
Localizable ARCUI-owned strings
Reusable built-in accessibility labels and behavior strings are token-independent runtime configuration:
<ARCUI
strings={{
headerBackAccessibilityLabel: "Back",
modalCloseAccessibilityLabel: "Close",
}}
>
{children}
</ARCUI>These strings can update with the application locale without remounting the design-system tokens.
Selection semantics
Checkbox, Radio, Toggle, Chip, SelectionGroup, Tabs, Select, Accordion, and Slider expose semantic state that follows their real React-owned value.
When a component is controlled, the application/test harness must update the controlled prop after the callback requests a change if it expects the rendered accessibility state to change.
Loading and placeholder content
A visual loading indicator is not automatically meaningful screen-reader content.
Use the semantic busy/loading behavior exposed by the owning component and ensure application copy communicates meaningful progress where required.
SkeletonLoader represents placeholder geometry and is intentionally not meaningful content for assistive technology.
Overlay isolation
ARCUI's provider-owned overlay layers manage background accessibility as part of their presentation contract:
Modalhides the underlying application subtree while at least one Modal is mounted;Dropdowndisables underlying pointer interaction and removes the background application from assistive-technology traversal while presented;Dialoghides the underlying application subtree while a Dialog owns the global host;Toastremains transient feedback rather than a modal interaction boundary.
Do not recreate these semantics with unrelated absolute-positioned Views outside the ARCUI overlay architecture.
Testing accessibility behavior
Prefer assertions around:
- role;
- accessible name;
accessibilityState;- visible validation/error content;
- controlled callback requests;
- overlay dismissal paths;
- final semantic values.
Avoid asserting private SharedValues or intermediate frame progress.
Related components
Action semantics, disabled/loading behavior, and accessible content.
Text-input semantics, validation, clear action, and localized labels.
Adjustable semantics and accessibility actions.
Accessibility escape and background isolation.
Anchored overlay interaction and background isolation.
Global dialog semantics and dismissal lifecycle.