1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-14 16:10:39 +00:00

Fix attachment indicator for screen reader users

Some screen readers present attachment indicator twice, once as part of populated content description of a message item, second time as an image with content description. To improve the behaviour, remove the content description from the image so it won't be reported.

Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
This commit is contained in:
Peter Vágner 2021-08-05 12:02:55 +02:00 committed by Peter Vágner
parent d422858ea1
commit e76c4da19c
2 changed files with 0 additions and 2 deletions

View file

@ -240,7 +240,6 @@
android:layout_width="21dp"
android:layout_height="21dp"
android:layout_marginStart="6dp"
android:contentDescription="@string/title_legend_attachment"
app:layout_constraintBottom_toBottomOf="@+id/tvSubject"
app:layout_constraintStart_toEndOf="@id/ivForwarded"
app:layout_constraintTop_toTopOf="@+id/tvSubject"

View file

@ -279,7 +279,6 @@
android:layout_width="21dp"
android:layout_height="21dp"
android:layout_marginStart="6dp"
android:contentDescription="@string/title_legend_attachment"
app:layout_constraintBottom_toBottomOf="@+id/tvFolder"
app:layout_constraintStart_toEndOf="@id/ivForwarded"
app:layout_constraintTop_toTopOf="@+id/tvFolder"