setErrorContentDescription

open fun setErrorContentDescription(@Nullable errorContentDescription: CharSequence)

Sets a content description for the error message.

A content description should be set when the error message contains special characters that screen readers or other accessibility systems are not able to read, so that they announce the content description instead.

Parameters

errorContentDescription

Content description to set, or null to clear it