Fixed
Status Update
Comments
ya...@google.com <ya...@google.com>
tn...@google.com <tn...@google.com>
tn...@google.com <tn...@google.com> #2
Is this fixed? I'm still seeing this issue with AGP 8.1.0-beta01 + Gradle 8.1
Description
The explanation provided by the AccessibilityDetector lint check suggests an outdated approach (using
tools:ignore=“ContentDescription”
).It is also a different approach from what's documented today in the url linked in that lint check which states:
"If your UI includes graphical elements that are used for decorative effect only, set their descriptions to "@null". If your app's minSdkVersion is 16 or higher, you can instead set these graphical elements' android:importantForAccessibility attributes to "no"."
I believe the check's explanation is misleading and should be updated.