Browse Source

add description to FAB for better accessibility

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 4 years ago
parent
commit
cf6b4c12e4
1 changed files with 4 additions and 3 deletions
  1. 4 3
      app/src/main/res/layout/controller_conversations_rv.xml

+ 4 - 3
app/src/main/res/layout/controller_conversations_rv.xml

@@ -89,11 +89,12 @@
         android:layout_width="wrap_content"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:layout_height="wrap_content"
         android:layout_gravity="bottom|end"
         android:layout_gravity="bottom|end"
-        android:backgroundTint="@color/colorPrimary"
         android:layout_margin="16dp"
         android:layout_margin="16dp"
+        android:backgroundTint="@color/colorPrimary"
+        android:contentDescription="@string/nc_new_conversation"
         app:borderWidth="0dp"
         app:borderWidth="0dp"
-        app:tint="@color/white"
-        app:srcCompat="@drawable/ic_add_white_24px"/>
+        app:srcCompat="@drawable/ic_add_white_24px"
+        app:tint="@color/white" />
 
 
     <include layout="@layout/fast_scroller" />
     <include layout="@layout/fast_scroller" />