Accessibility · Library v2.7.0

Masked Input WAI-ARIA Support

Masked Input uses a native text field with fixed-format validation and normal keyboard focus order.

Roles, states and properties

These describe the installed implementation. ARIA communicates meaning; keyboard handlers and application code provide the interaction.

Masked Input accessibility semantics
ElementSemanticsBehavior
Inputnative text input, label, aria-describedby, aria-invalidLabeling and error associations are applied to the native editor.
Read-only and disablednative readonly and disabledRead-only values remain selectable; disabled controls leave the tab order.

Current limitations

  • ASCII slots only; no dynamic masks or country detection.
  • IME input is validated after composition; non-ASCII text is rejected.

This reference is based on the shipped source. It is not a WCAG conformance certificate or a claim that every browser and screen reader combination has been tested.

See the W3C ARIA Authoring Practices Guide for guidance on custom controls.

This project is not affiliated with ng-bootstrap or ngx-bootstrap. Those projects focus mainly on Bootstrap components for Angular. ngbootstrap focuses on Angular UI for data-heavy apps, especially Data Grid, Angular-native Form Builder, drag and drop workflows, documentation examples, and performance-focused Angular patterns.