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=" ~~~~~~~~">
<location
file="src/main/res/layout/item_status_notification.xml"
line="49"
line="50"
column="6"/>
</issue>
@ -4905,7 +4905,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/item_status_notification.xml"
line="70"
line="71"
column="6"/>
</issue>
@ -4916,7 +4916,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/item_status_notification.xml"
line="84"
line="85"
column="6"/>
</issue>
@ -5272,28 +5272,6 @@
column="6"/>
</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
id="ContentDescription"
message="Missing `contentDescription` attribute on image"

View File

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

View File

@ -44,7 +44,8 @@
android:layout_width="24dp"
android:layout_height="24dp"
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
android:id="@+id/status_display_name"