Missing accessibility label
Missing accessibility label
Editable text fields should provide an android:hint
or, provided your minSdkVersion
is at least 17, they may be referenced by a view with a android:labelFor
attribute.
When using android:labelFor
, be sure to provide an android:text
or an android:contentDescription
.
If your view is labeled but by a label in a different layout which includes this one, just suppress this warning from lint.
Issue id: LabelFor
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3 |
Plugin: | Android, 2022.3.1 Beta 2 |
Last modified: 13 July 2023