A Mask component renders a controlled input field that applies formatting to the input value when the field is blurred.
mask prop into the
TextField component with a valid value will
enable formatting to occur when the field is blurred. To "unmask" the
value, you can import and call the
See Storybook for React guidance of this component.
The following CSS variables can be overridden to customize Input/Form components:
This component uses a text field and its styles, which can be customized by the following variables:
For more information about how we tested and validated our work for each checklist item, read our component maturity documentation.
ColorMeets AA color contrast standards for accessibility and color blindness.Complete
Forced Colors Mode (FCM)While using FCM the components text is legible and improves readability.Complete
WCAG 2.1 Level AA ConformanceAll Axe checks for WCAG AA compliance have passed.Complete
Screen readersVoiceOver, NVDA, and JAWS screen readers provide concise communication and interaction.Incomplete
Keyboard navigationComponent is fully navigable with a keyboard.Complete
StorybookComponent has stories to cover all defined props.Complete
ResponsiveComponent designed to work in all responsive breakpoints.Complete
Spanish translationsIncludes Spanish translations for default text content.Not applicable
CodeTokens implemented in code.Complete
DesignTokens implemented in the Sketch.Complete