Fixed
Status Update
Comments
ya...@google.com <ya...@google.com>
tn...@google.com <tn...@google.com>
tn...@google.com <tn...@google.com> #2
Thanks for the report. I will route this to the appropriate internal team and update this when I hear back from them.
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.