a11y: turn embeded maps into inert elements (#2533)

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-03-07 10:10:29 -05:00 committed by GitHub
commit 33cbe1ab71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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>