WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Clickable maps

for

From: Peter Weil
Date: Apr 5, 2023 6:47AM


Steve, Glen, Tim and others,

After recovering and thinking this over some more, what do you think of the idea of using anchors with an aria-describedby attribute referencing the county data (which would be considered a description)?

Judging by the tests described in Adrian Roselli’s "Accessible Description Exposure”(2022), navigating from county to county in the map should expose both the description and the link text (Something like “link: Profile of County X”). So no live region is needed (that would be handled by aria-describedby).

https://adrianroselli.com/2022/04/accessible-description-exposure.html

I’d have to test it, of course. And apparently the link list will not expose the description. And maybe there are other caveats to consider.

Thanks,

Peter


> On Mar 31, 2023, at 11:29 AM, glen walker < <EMAIL REMOVED> > wrote:
>
> Just to toss out another idea (not necessarily a good one), but in a way
> the map is kind of a tab control. The counties are the tabs and the
> statistics are the tab panels, although in your case you sort of have one
> tab panel and you just update its contents. It's not quite an exact
> metaphor but really close. When you switch tabs in a tab control, the new
> tab panel contents are not typically announced, although they could be.
> The fact that a user can hear "tab, selected 1 of 10" gives them a clue as
> to what to expect when they select a tab. They know there's new content by
> selecting a tab and hopefully the contents of that tab panel are easy to
> navigate to.
>
> It's fine to use a live region. Just remember that it's only the text of
> the live region that's announced. None of the structural roles are
> announced. So if you have headings, tables, lists, etc in a live region,
> they'll all be announced as if they have role="presentation". So you might
> want to limit what gets announced. Having a separate hidden live region
> with limited text, as you suggested, is certainly one way. Or, if you can
> mark just part of your statistical area as live, that might work too.
> Structural elements in the live region or in the statistical area will make
> it easier for screen reader users to navigate to the contents.
> > > >