Преглед изворни кода

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

cyberta пре 3 година
родитељ
комит
c609775ff7
1 измењених фајлова са 2 додато и 0 уклоњено
  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
     }()