Edit Text Value

Link to Edit Text Value copied to clipboard

WCAG 2.0 - 4.1.2 A Impact - Critical

EditText elements must have their value (entered text) available to TalkBack.


ContentDescriptions on EditText views can override the value on some versions of Android.

Supported within:
XML Layouts


Issues found by this rule impact people with blindness.

EditText elements should provide information where the Android OS expects. As a result, assistive technologies can communicate information predictably.


  1. Turn on TalkBack
  2. Focus on the element
  3. One of the following will happen:
    • Accessible: TalkBack announces the entered text, for, and the associated label's Text.
    • Inaccessible: TalkBack either didn't announce the above information or announced it in the wrong order.

How to Fix

EditText editText = .......; // Role: EditText
TextView label = .......; // Role: Label
label.setLabelFor(editText.getId()); // Associate the Checkbox with its Name