Skip to main content
cngx-src documentation

withA11yPanelLabels

Functionui/a11yv0.1.0

projects/ui/a11y/a11y-panel.config.ts

Description#

Override any subset of the panel text - axis group labels, the Reset label, the default heading, or the Reset announcement. The axes record merges key-by-key, so a single axis can be relabelled in isolation.

provideA11yPanelConfig(
  withA11yPanelLabels({
    heading: 'Barrierefreiheit',
    axes: { motion: 'Bewegung' },
    resetMessage: 'Einstellungen zurueckgesetzt',
  }),
);

Signature#

withA11yPanelLabels(payload: CngxA11yPanelLabelsOverride)

Parameters#

Returns#

CngxA11yPanelConfigFeature