Bladeren bron

add accessibility hint to chat list title

cyberta 3 jaren geleden
bovenliggende
commit
55b35f5cee

+ 1 - 0
deltachat-ios/Controller/ChatListController.swift

@@ -26,6 +26,7 @@ class ChatListController: UITableViewController {
         view.addGestureRecognizer(navTapGesture)
         view.isUserInteractionEnabled = true
         view.font = UIFont.systemFont(ofSize: 17, weight: .semibold)
+        view.accessibilityLabel = String.localized("a11y_connectivity_hint")
         return view
     }()
 

+ 1 - 0
deltachat-ios/en.lproj/Localizable.strings

@@ -875,3 +875,4 @@
 "update_1_28_ios_extra_line" = "… and you can select a wallpaper at \"Settings / Background\" now :)";
 "update_1_30" = "Faster. More stable.\n\nFor 1.30 releases, we focused on speed and reliability, fixing dozens of bugs. Check our changelogs if your favorite one is fixed: https://get.delta.chat/#changelogs 🚀";
 
+"a11y_connectivity_hint" = "Tap to view connectivity details.";

+ 1 - 0
scripts/untranslated.xml

@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
 <resources>
     <!-- iOS specific untranslated strings -->
+    "a11y_connectivity_hint" = "Tap to view connectivity details.";
 </resources>