-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meaningful Pan & Zoom (and Feature navigation) #396
Comments
We're trying to make features, and maps, accessible, and to make features part of the way that screen reader users will be able to navigate a map, including being a way to achieve what zoom and pan do for sighted users, without having to actually use pan and zoom directly. I am a pan and zoom sceptic when it comes to the accessibility maps you've mentioned, or really any map for that matter. Although I understand that announcing direction of travel might be of use, I think that users would not care about that if they didn't have to; if they could leverage the "power" of linking to get them to the thing they need to get to. We have not yet hit upon an optimal solution but we're making progress. I also think that sorting the features in a map by "relevance" (mostly: ascending order of distance from centre of map) could help with having to go through too many features. Features are necessary, but too much feature spoils the map. So Ctrl-F could also help, if we ever get to it (getting links implemented is occupying all our efforts atm). |
btw this is not a complete answer, just acknowledgement of the issues. Hopefully I'll have time to respond to bits appropriately |
Thank you for your initial response Peter!
I want to clarify that this particular proposed solution and conventional tabbing are not necessarily mutually exclusive.
Conversely, I'm skeptic to tab-only navigation in maps. Tabbing (as the only way) to explore a map:
Direction of travel isn't going to be of interest to all screen reader users in all scenarios/at all times (ATs are likely to have map-viewer specific settings so affordances of this type may be opt-in/out), but I think it's a big assumption to say that it's not useful because we have links. Links with target destinations within maps are certainly useful in their own right, though sometimes it's the journey that counts, not (only) the destination.
The answer here too is that they (this proposed solution and #385) may not be mutually exclusive.
I agree that supporting ctrl + F is important. I've mentioned the use of the
The above isn't true for the polyfill though. It'd be neat to hinge on their work for making sure out-of-view content is truly hidden from ATs (but not visually hidden) as it applies |
Another thought: the tile structure could be used to advantage to allow blind users to "explore" a geographic space, because it's regular enough to develop a reliable mental map of, and known to the UA. The UA could announce the zoom/row/column and allow controlled pan/zoom so the user would never get lost. |
I've updated the initial comment to add a new part:
The solution parts:
are in some ways analogous to In other words, the polyfill would expose information to the user that perhaps should be exposed through accessibility APIs in a standard element. |
Just noting that, to my understanding, this proposed solution (the solution parts together) creates an egocentric viewpoint (which seems to be favored by Brandon Biggs in https://discourse.wicg.io/t/digital-nonvisual-maps/4838) as opposed to an allocentric viewpoint (current state of web maps, through sequential navigation). |
I reached out to Brandon per e-mail and he noted that the a11y-map has significant latency in announcing the view, this is partly due to the use of
which perhaps means that the proposed alerts would have to reside in a single |
Hi @Malvoz we are trying to set the zoom and location of the map on moveend in the aria label of the div that has focus however when we set the aria label back to interactive map at the end, the words "interactive map" is being read again. Is this an issue that we will have to resolve and if so, do you have any ideas. Thanks! |
Is there a particular reason why the suggested |
Wouldn't focus have to shift to the output element and then shifting focus back to the map would lead to the same issue? Edit: Never mind I see that it does not need focus. Ill give it a go thanks! |
@ben-lu-uw one caveat is that the output element (or any ARIA live regions) can't be dynamically added to/removed from the DOM, but rather its contents should. Here's another great article: https://bitsofco.de/using-aria-live/#considerationswhenusingarialive |
A developer reached out to me some weeks ago, and wrote
, , .Not only do all of the libraries fail to implement a basic UI in an accessible manner (i.e. #247), but panning and zooming is for the most part meaningless to non-visual users.
Can pan and zoom (and map navigation as a whole) be made useful and meaningful, to everyone?
The problems
Panning & zooming is not meaningful to users of assistive technology
Navigating only features of interest
Potential solution(s)
(These solution parts are highly inspired by the Google Maps site's "Accessibility Mode" and Esri's a11y-map, and rely on
role=application
such that screen reader users can pan using arrow keys as well).The direction in which the user is panning should be announced
role="status"
witharia-atomic="true"
):The zoom level should be announced (Announce zoom #664)
Min/max zoom & pan should be announced when reached
Features out of view should be hidden
(proposed capability: Capability: Hide or show content outside the map display HTML-Map-Element-UseCases-Requirements#239)
inert
.Features in view should be announced
inert
attribute) toggled. To have features announced as they become visible on pan/zoom I believe either of the following would be required:<featurecaption>
(<g aria-label="">
)) added to a Feature Index (Feature Index #397) Live Region element (it could be sr-only by default, and a control could be provided to toggle between "screen reader only" and "visible to all").Related comments/issues:
Related experiments:
The text was updated successfully, but these errors were encountered: