a11y: turn embeded maps into inert elements

One of the side-effects is to make the content of the map un-focusable but we also loose the ability to interact with the map itself.
This commit is contained in:
David Larlet 2025-02-28 16:18:28 -05:00
parent 48daa0a77f
commit abe49cc1ba
No known key found for this signature in database
GPG key ID: 3E2953A359E7E7BD

View file

@ -1,6 +1,6 @@
{% load umap_tags %}
<umap-fragment data-settings='{{ map_settings|escape }}'>
<umap-fragment data-settings='{{ map_settings|escape }}' inert>
<div id="{{ unique_id }}" class="map_fragment">
</div>
</umap-fragment>