Skip to main content
cngx-src documentation

injectA11yPreferences

Functioncore/themingv0.1.0

projects/core/theming/a11y-preferences.ts

Description#

Read the four accessibility-axis signals as one bundle in an injection context. Each is the same WritableSignal the axis token holds, so the accessibility panel both reads current state and writes user choices through it (injectA11yPreferences().motion.set('reduced')).

Signature#

injectA11yPreferences()

Returns#

literal type