Android accessibility in edit text with hint -
i have edittext entering first name when creating account , hint "jane"(as first name). want have content description on edittext accessibility saying "first name". when set both hint , content description warning pops "do not set both contentdescription , hint: contentdescription mask hint" , fine, it's content description doesn't mask hint. when turn on talkback still reads hint , not content description.
could me this. thnx.
from understand, android:hint meant placeholder text in textviews (and subclasses) long not display text, whereas android:contentdescription meant alternative textual description non-textual content (images...). therefore i'd set hint on edittext only.
Comments
Post a Comment