Accessibility in Blazor Input Mask
27 Aug 20263 minutes to read
The Blazor Input Mask component follows the accessibility guidelines and standards, including ADA, Section 508, WCAG 2.2 standards, and WCAG roles that are commonly used to evaluate accessibility.
The accessibility compliance for the Blazor Input Mask component is outlined below.
| Accessibility Criteria | Compatibility |
|---|---|
| WCAG 2.2 Support | AA |
| Section 508 Support | ![]() |
| Screen Reader Support | ![]() |
| Right-To-Left Support | ![]() |
| Color Contrast | ![]() |
| Mobile Device Support | ![]() |
| Keyboard Navigation Support | ![]() |
| Axe-core Accessibility Validation | ![]() |
- All features of the component meet the requirement.
- Some features of the component do not meet the requirement.
- The component does not meet the requirement.WAI-ARIA attributes
The Blazor Input Mask component includes comprehensive WAI-ARIA support to ensure compatibility with screen readers and other assistive technologies. This component is designed with reference to the WAI-ARIA Authoring Practices.
The Blazor Input Mask component uses the textbox role and the following ARIA properties, based on state and configuration:
| Property | Functionality |
|---|---|
| aria-label / aria-labelledby | Provides an accessible name for the Blazor Input Mask component. |
| aria-describedby | Associates helper or error text with the Blazor Input Mask component for screen reader announcement. |
| aria-invalid | Indicates that the current value fails validation. |
| aria-required | Indicates that input is required. |
| aria-disabled | Indicates that the Blazor Input Mask component is disabled. |
| aria-readonly | Indicates that the value cannot be changed by the user. |
| aria-multiline | Indicates whether the textbox supports multiple lines (typically false for Blazor Input Mask component). |
Ensuring accessibility
The Blazor Input Mask component’s accessibility levels are ensured through an axe-core software tool during automated testing.
The accessibility compliance of the Blazor Input Mask component is shown in the following sample. Open the sample in a new window to evaluate the accessibility of the Blazor Input Mask component with accessibility tools.