Skip to main content
cngx-src documentation

FieldControlAriaOptions

Interface

projects/forms/field/field-control-aria.ts

Import#

import { FieldControlAriaOptions } from '@cngx/forms/field'

Description#

Index#

Instance Properties#

disabledReason#literal type
ReadonlyOptional

Disabled-reason aria-describedby gating. The reason id is appended only while the control is disabled with a reason. accname 1.2 ยง2A traverses a directly-referenced hidden node, so emitting the id whenever a reason is merely set would announce the reason on an enabled control (a disabledReason bound statically while disabled is false), the same gating CngxCard uses.

fallbackId#string
ReadonlyOptional

Host id when no surrounding field supplies one. Default ''.

localDisabled#function
ReadonlyOptional

Control-local disabled knob OR'd with the field's disabled state (the CngxRating / CngxPhoneInput pattern). Omit for bridges whose disabled derives from the field alone.