summaryrefslogtreecommitdiff
path: root/platform/ios/app/Main.storyboard
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-05-16 14:48:18 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-04-25 00:24:35 -0700
commitd9a2a845dec1697f6b68b6aa4c4a49b0c2738329 (patch)
tree5a1bf6cbdd642cf7bfdada03e573fc85a4da8487 /platform/ios/app/Main.storyboard
parent7cc3928a19ffc40e2835264f1349dc7a07fd4017 (diff)
downloadqtlocation-mapboxgl-d9a2a845dec1697f6b68b6aa4c4a49b0c2738329.tar.gz
[ios] Added accessibility labels, hints, gestures
Fixed an issue where the “return to map” accessibility element lacked a label. Always update the title and subtitle of an annotation accessibility element, in case the title or subtitle changes from one showing to the next. Added a hint for annotations. Use declarative rather than imperative for hints. Marked the map view and its annotations as adjustable so that swiping up and down with VoiceOver zooms out and in, respectively. Added accessibility values to toolbar buttons in iosapp.
Diffstat (limited to 'platform/ios/app/Main.storyboard')
-rw-r--r--platform/ios/app/Main.storyboard15
1 files changed, 12 insertions, 3 deletions
diff --git a/platform/ios/app/Main.storyboard b/platform/ios/app/Main.storyboard
index 72f9a02219..1190070d8e 100644
--- a/platform/ios/app/Main.storyboard
+++ b/platform/ios/app/Main.storyboard
@@ -38,7 +38,10 @@
</view>
<navigationItem key="navigationItem" id="p8W-eP-el5">
<nil key="title"/>
- <barButtonItem key="leftBarButtonItem" image="settings.png" id="Jw8-JP-CaZ">
+ <barButtonItem key="leftBarButtonItem" image="settings.png" id="Jw8-JP-CaZ" userLabel="Map Settings">
+ <userDefinedRuntimeAttributes>
+ <userDefinedRuntimeAttribute type="string" keyPath="accessibilityLabel" value="Map settings"/>
+ </userDefinedRuntimeAttributes>
<connections>
<action selector="showSettings:" destination="WaX-pd-UZQ" id="X2C-Ee-Qvt"/>
</connections>
@@ -53,12 +56,18 @@
</connections>
</button>
<rightBarButtonItems>
- <barButtonItem image="TrackingLocationOffMask.png" id="CQ1-GP-M6x">
+ <barButtonItem image="TrackingLocationOffMask.png" id="CQ1-GP-M6x" userLabel="User Tracking Mode">
+ <userDefinedRuntimeAttributes>
+ <userDefinedRuntimeAttribute type="string" keyPath="accessibilityLabel" value="User tracking mode"/>
+ </userDefinedRuntimeAttributes>
<connections>
<action selector="locateUser:" destination="WaX-pd-UZQ" id="XgF-DB-z3f"/>
</connections>
</barButtonItem>
- <barButtonItem systemItem="organize" id="5IK-vz-jKQ">
+ <barButtonItem systemItem="organize" id="5IK-vz-jKQ" userLabel="Offline Packs">
+ <userDefinedRuntimeAttributes>
+ <userDefinedRuntimeAttribute type="string" keyPath="accessibilityLabel" value="Offline packs"/>
+ </userDefinedRuntimeAttributes>
<connections>
<segue destination="7q0-lI-zqb" kind="show" identifier="ShowOfflinePacks" id="xjx-0t-0LD"/>
</connections>