Andrew (Digitwell) Well-Known Member Licensed User Longtime User Oct 10, 2019 #1 I'm adding accessibility to my app which seems to be a bit more difficult on iOS then it is on Android... Google maps does not respond to the screen reader at all. However, I found this referencehttps://stackoverflow.com/questions/43874391/getting-accessible-markers-in-google-maps-in-ios mapsView.accessibilityElementsHidden = false marker.accessibilityLabel = "marker Accessibility label" marker.icon.accessibilityLabel = "marker icon accessibility label" Click to expand... How would I do this from B4i? Thanks Andrew
I'm adding accessibility to my app which seems to be a bit more difficult on iOS then it is on Android... Google maps does not respond to the screen reader at all. However, I found this referencehttps://stackoverflow.com/questions/43874391/getting-accessible-markers-in-google-maps-in-ios mapsView.accessibilityElementsHidden = false marker.accessibilityLabel = "marker Accessibility label" marker.icon.accessibilityLabel = "marker icon accessibility label" Click to expand... How would I do this from B4i? Thanks Andrew
Erel B4X founder Staff member Licensed User Longtime User Oct 11, 2019 #2 Try this: Code: Copy Dim no As NativeObject = gmap no.SetField("accessibilityElementsHidden", False) '... no = marker no.SetField("accessibilityLabel", "aaa") no.GetField("icon").SetField("accessibilityLabel", "bbb") Upvote 0
Try this: Code: Copy Dim no As NativeObject = gmap no.SetField("accessibilityElementsHidden", False) '... no = marker no.SetField("accessibilityLabel", "aaa") no.GetField("icon").SetField("accessibilityLabel", "bbb")
Andrew (Digitwell) Well-Known Member Licensed User Longtime User Oct 11, 2019 #3 Thanks, that did the trick. Upvote 0