InputAriaLabels
projects/forms/input/input-config.ts
Import#
import { InputAriaLabels } from '@cngx/forms/input'
Description#
Consumer-overridable ARIA label strings for @cngx/forms/input directives.
Library defaults are English (DEFAULT_INPUT_ARIA_LABELS); supply a
partial override via withInputAriaLabels at the application or
component level. Mirrors the select family's withAriaLabels idiom.
Index#
Instance Properties#
Assertive live-region warning announced when CngxCapsLock detects Caps Lock active. Default: 'Caps Lock is on'
Assertive live-region announcement when CngxCopyValue fails to copy. Default: 'Copy failed'
Live-region announcement when CngxCopyValue copies successfully. Default: 'Copied'
Assertive live-region announcement when CngxInputFilter rejects a disallowed character. Default: 'Character not allowed'
Live-region announcement when the OTP is fully entered. Default: 'Code complete'
Group name for the CngxOtpInput host (role="group"). Default: 'One-time code'
Per-slot aria-label factory for CngxOtpSlot. Default: `Digit ${index + 1} of ${length}`
Polite live-region template announced by CngxPasswordStrength when the strength label changes. Default: `Password strength: ${label}`
Per-star aria-label factory for each CngxRating radio. Default: (step, max) => `${step} of ${max}`
Live-region announcement factory for CngxRating on a committed value. Default: (value, max) => `${value} of ${max}`
Polite live-region announcement when CngxSensitiveValue hides the value. Default: 'Value hidden'