Skip to main content

MaskedTextBox

MaskedTextBoxes provide a specific predefined format or a mask rule for the expected user input.

Accessibility Support

Out of the box, the Telerik and Kendo UI Maskedtextbox provides extensive accessibility support and enables users with disabilities to acquire complete control over its features.

The Maskedtextbox is compliant with the Web Content Accessibility Guidelines (WCAG) 2.2 standards and Section 508 requirements, follows the Web Accessibility Initiative - Accessible Rich Internet Applications (WAI-ARIA) best practices and is tested against the most popular screen readers.

MaskedTextbox

ARIA Attributes

AttributeDescription
role="textbox"Describes the role of the component.
aria-label|aria-labelledbyThe input requires an accessible name (provided by consuming app).
aria-placeholderAnnounces the mask or placeholder for the component.
aria-invalid="true"Rendered when the MaskedTextBox is in an invalid state.
aria-describedbyPoints to the hint or error message.
aria-disabled="true"Rendered when the MaskedTextBox is disabled.

UX Behavior

FeatureDescription
Mask patternFormats input according to a configurable pattern (e.g., phone numbers, dates).
Prompt characterUnfilled mask positions are shown with a placeholder character (default: underscore).
Auto-advanceFocus moves to the next mask segment as each one is filled.
Disabled stateWhen disabled, the input is non-interactive.

Testing

The Maskedtextbox has been extensively tested automatically with axe-core and manually with the most popular screen readers.

Screen Readers

The Maskedtextbox has been tested with the following screen readers and browsers combinations:

EnvironmentTool
FirefoxNVDA
ChromeJAWS
Microsoft EdgeJAWS
Feedback