Browse Source

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

cyberta 3 năm trước cách đây
mục cha
commit
c609775ff7
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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
     }()