fix: Set the contentDescription for avatars

This commit is contained in:
Nik Clayton 2023-09-20 16:23:21 +02:00
parent acaf2a7d89
commit 0fadb6f3fd
3 changed files with 6 additions and 27 deletions

View File

@ -4894,7 +4894,7 @@
errorLine2=" ~~~~~~~~"> errorLine2=" ~~~~~~~~">
<location <location
file="src/main/res/layout/item_status_notification.xml" file="src/main/res/layout/item_status_notification.xml"
line="49" line="50"
column="6"/> column="6"/>
</issue> </issue>
@ -4905,7 +4905,7 @@
errorLine2=" ~~~~~~~~"> errorLine2=" ~~~~~~~~">
<location <location
file="src/main/res/layout/item_status_notification.xml" file="src/main/res/layout/item_status_notification.xml"
line="70" line="71"
column="6"/> column="6"/>
</issue> </issue>
@ -4916,7 +4916,7 @@
errorLine2=" ~~~~~~~~"> errorLine2=" ~~~~~~~~">
<location <location
file="src/main/res/layout/item_status_notification.xml" file="src/main/res/layout/item_status_notification.xml"
line="84" line="85"
column="6"/> column="6"/>
</issue> </issue>
@ -5272,28 +5272,6 @@
column="6"/> column="6"/>
</issue> </issue>
<issue
id="ContentDescription"
message="Missing `contentDescription` attribute on image"
errorLine1=" &lt;ImageView"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/res/layout/item_report_notification.xml"
line="42"
column="6"/>
</issue>
<issue
id="ContentDescription"
message="Missing `contentDescription` attribute on image"
errorLine1=" &lt;ImageView"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/res/layout/item_status_notification.xml"
line="42"
column="6"/>
</issue>
<issue <issue
id="ContentDescription" id="ContentDescription"
message="Missing `contentDescription` attribute on image" message="Missing `contentDescription` attribute on image"

View File

@ -45,7 +45,7 @@
android:layout_height="24dp" android:layout_height="24dp"
app:layout_constraintRight_toRightOf="@id/notification_reportee_avatar" app:layout_constraintRight_toRightOf="@id/notification_reportee_avatar"
app:layout_constraintBottom_toBottomOf="@id/notification_reportee_avatar" app:layout_constraintBottom_toBottomOf="@id/notification_reportee_avatar"
/> android:contentDescription="@string/action_view_profile" />
<TextView <TextView
android:id="@+id/notification_summary" android:id="@+id/notification_summary"

View File

@ -44,7 +44,8 @@
android:layout_width="24dp" android:layout_width="24dp"
android:layout_height="24dp" android:layout_height="24dp"
app:layout_constraintBottom_toBottomOf="@id/notification_status_avatar" app:layout_constraintBottom_toBottomOf="@id/notification_status_avatar"
app:layout_constraintEnd_toEndOf="@id/notification_status_avatar" /> app:layout_constraintEnd_toEndOf="@id/notification_status_avatar"
android:contentDescription="@string/action_view_profile" />
<TextView <TextView
android:id="@+id/status_display_name" android:id="@+id/status_display_name"