Fix pa11y issues with the map
This commit is contained in:
parent
a27781ddc5
commit
f1b8c42ab6
6 changed files with 94 additions and 21 deletions
|
|
@ -65,7 +65,7 @@ or {{< tour-map 39c3 >}}.
|
|||
{{- warnidf "warning-tour-map-empty" "tour-map: no tours with geo in data/schedule/%s.yaml: %s" $event .Position -}}
|
||||
{{- else -}}
|
||||
{{- $tours = sort $tours "title" -}}
|
||||
<div class="tour-map" data-tour-map="{{ jsonify (dict "origin" $origin "tours" $tours) }}">
|
||||
<div class="tour-map" data-tour-map="{{ jsonify (dict "origin" $origin "tours" $tours) }}" data-label-zoom-in="{{ i18n "tour_map_zoom_in" }}" data-label-zoom-out="{{ i18n "tour_map_zoom_out" }}">
|
||||
<div class="tour-map__canvas" role="region" aria-label="{{ i18n "tour_map_label" }}"></div>
|
||||
<ul class="tour-map__list">
|
||||
{{- range $tours }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue