Explorar el Código

add accessibility labels to forward and delete buttons in multi-select mode

cyberta hace 3 años
padre
commit
c609775ff7
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      deltachat-ios/Chat/Views/ChatEditingBar.swift

+ 2 - 0
deltachat-ios/Chat/Views/ChatEditingBar.swift

@@ -48,6 +48,7 @@ public class ChatEditingBar: UIView, InputItem {
         view.translatesAutoresizingMaskIntoConstraints = false
         view.isUserInteractionEnabled = true
         view.imageView?.contentMode = .scaleAspectFit
+        view.accessibilityLabel = String.localized("delete")
         return view
     }()
 
@@ -58,6 +59,7 @@ public class ChatEditingBar: UIView, InputItem {
         view.translatesAutoresizingMaskIntoConstraints = false
         view.imageView?.contentMode = .scaleAspectFit
         view.isUserInteractionEnabled = true
+        view.accessibilityLabel = String.localized("forward")
         return view
     }()