

Note: Icons that don't have click listeners set on them work as decorativeĮlements, and are therefore skipped by screen readers. That way the error will announce theĬontent description instead of the error message. Readers or other accessibility systems are not able to read, you should set aĬontent description via the app:errorContentDescription attribute or When setting an error message that contains special characters that screen For the trailing icon, that can be achieved via theĪpp:endIconContentDescription attribute or setEndIconContentDescription That screen readers, like TalkBack, are able to announce their purpose orįor the leading icon, that can be achieved via theĪpp:startIconContentDescription attribute or setStartIconContentDescription When using custom icons, you should set a content description on them so Which explain what is requested for a text field. Making text fields accessibleĪndroid's text field component APIs support both label text and helper text,

If an EditText is being used, make sure to set itsĪndroid:background to so that TextInputLayout can set the properīackground on it. Work, but TextInputEditText provides accessibility support for the text fieldĪnd allows TextInputLayout greater control over the visual aspects of the Note: A text field is composed of a TextInputLayout and a
