Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Annotation views are inaccessible to VoiceOver #5038

Closed
1ec5 opened this issue May 14, 2016 · 1 comment
Closed

Annotation views are inaccessible to VoiceOver #5038

1ec5 opened this issue May 14, 2016 · 1 comment
Assignees
Labels
annotations Annotations on iOS and macOS or markers on Android bug iOS Mapbox Maps SDK for iOS
Milestone

Comments

@1ec5
Copy link
Contributor

1ec5 commented May 14, 2016

As of #4801, annotations can be presented as either GL annotations or annotation views. Whereas MGLMapView synthesizes an accessibility element for each GL annotation, it doesn’t do so for annotation views. MGLMapView should include annotation views as they are in its child accessibility elements.

/cc @boundsj

@1ec5 1ec5 added bug iOS Mapbox Maps SDK for iOS labels May 14, 2016
@1ec5 1ec5 added this to the ios-v3.3.0 milestone May 14, 2016
@boundsj boundsj added the annotations Annotations on iOS and macOS or markers on Android label May 17, 2016
@1ec5 1ec5 self-assigned this May 24, 2016
@1ec5
Copy link
Contributor Author

1ec5 commented Jun 3, 2016

It turns out that view-backed annotations are accessible, but they get the default frame, as if the view is the same size as the default red pin image. Anything inside the view is inaccessible.

1ec5 added a commit that referenced this issue Jun 3, 2016
Corrected the accessibility frames of annotation views to match the views’ bounds instead of the bounds of the default annotation image (which could be empty if no default GL point annotation has been added).

Fixes #5038.
@1ec5 1ec5 closed this as completed in #5235 Jun 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
annotations Annotations on iOS and macOS or markers on Android bug iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

No branches or pull requests

2 participants