Accessibility in Blazor TextBox Component

4 Nov 20252 minutes to read

The Blazor TextBox follows accessibility guidelines and standards commonly used to evaluate UI accessibility, including ADA, Section 508, WCAG 2.2, and WAI‑ARIA.

The accessibility compliance for the Blazor TextBox component is outlined below.

Accessibility Criteria Compatibility
WCAG 2.2 Support Meets requirement
Section 508 Support Meets requirement
Screen Reader Support Meets requirement
Right-To-Left Support Meets requirement
Color Contrast Meets requirement
Mobile Device Support Meets requirement
Keyboard Navigation Support Meets requirement
Axe-core Accessibility Validation Meets requirement
Meets requirement - All features of the component meet the requirement.
Partially meets requirement - Some features of the component do not meet the requirement.
Not supported - The component does not meet the requirement.

WAI-ARIA attributes

The Blazor TextBox is characterized with complete ARIA Accessibility support that helps to access through the on-screen readers and other assistive technology devices. This component is designed with the reference of the guidelines document given in WAI ARAI Accessibility practices.

The TextBox uses the textbox role and following ARIA properties for its element based on its state.

Property Functionality
aria-placeholder The aria-placeholder is a short hint to help the users with data entry when the Textbox has no value.
aria-labelledby The aria-labelledby property indicates the floating label element of the Textbox.

Ensuring accessibility

The Blazor TextBox component’s accessibility is validated with the axe-core tool during automated testing.

The accessibility compliance of the TextBox component is demonstrated in the following sample. Open the accessibility sample for TextBox in a new window to evaluate accessibility with your preferred tools. The component also supports right-to-left (RTL) rendering and high-contrast themes for improved readability and usability.

See also