app: address ContentDescription lint

This commit is contained in:
Harsh Shandilya 2022-04-24 16:37:57 +05:30
parent 901845e745
commit f1556242fa
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
2 changed files with 4 additions and 33 deletions

View file

@ -1,39 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 7.1.3" type="baseline" client="gradle" dependencies="false" name="AGP (7.1.3)" variant="all" version="7.1.3">
<issue
id="ContentDescription"
message="Missing `contentDescription` attribute on image"
errorLine1=" &lt;ImageView"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/res/layout/oreo_autofill_dataset.xml"
line="17"
column="4"/>
</issue>
<issue
id="ContentDescription"
message="Missing `contentDescription` attribute on image"
errorLine1=" &lt;ImageView"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/res/layout/oreo_autofill_filter_row.xml"
line="15"
column="4"/>
</issue>
<issue
id="ContentDescription"
message="Missing `contentDescription` attribute on image"
errorLine1=" &lt;ImageView"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/res/layout/oreo_autofill_filter_row.xml"
line="57"
column="4"/>
</issue>
<issue
id="LabelFor"
message="Missing accessibility label: provide either a view with an `android:labelFor` that references this view or provide an `android:hint`"

View file

@ -3,6 +3,10 @@
~ SPDX-License-Identifier: GPL-3.0-only
-->
<lint>
<issue id="ContentDescription">
<ignore path="src/main/res/layout/oreo_autofill_dataset.xml" />
<ignore path="src/main/res/layout/oreo_autofill_filter_row.xml" />
</issue>
<issue id="InvalidPackage">
<ignore regexp="X509LDAPCertStoreSpi" />
</issue>