Skip to content
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

Keyboard focus does not work with <area is="map-area"> #695

Open
prushforth opened this issue Nov 15, 2022 · 2 comments
Open

Keyboard focus does not work with <area is="map-area"> #695

prushforth opened this issue Nov 15, 2022 · 2 comments

Comments

@prushforth
Copy link
Member

If you tab to focus the map, with scripting enabled, the next tab will take you to the zoom in control, bypassing the <area is="map-area"> elements; if you disable scripting you tab to the area elements in sequence, with the focus indicator showing where you are.

https://maps4html.org/experiments/progressive-enhancement/

@Malvoz
Copy link
Member

Malvoz commented Nov 15, 2022

bypassing the <area is="map-area"> elements

Note that when scripting is enabled <area> and <img usemap> are themselves not actually active (since 05aadb1). I think that's still expected.

The rendered SVG should essentially be feature links though?

@prushforth
Copy link
Member Author

The rendered SVG should essentially be feature links though?

Exactly, but that's not the case, because the map-area code does not use the same implementation as map-feature. I think that maintaining map-area has been mostly overlooked, because we haven't received positive feedback about leveraging the <map> element, quite the opposite, unfortunately.

I've had the impression that talking about <map> has the opposite of the desired effect on old time Web standards folks: they aren't enthusiastic about extending this part of HTML because they don't see the <mapml-viewer> semantics in <map> that I/we do, and they are very very cautious about touching old code that is widely depended upon and could break existing Web sites, maybe not in that order. I might be wrong, but it might be time to retire map-area entirely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants