Adds aria-described-by to modal component

This commit is contained in:
Mouse Reeve 2021-12-31 10:39:18 -08:00
parent 2f4899dc1f
commit 30bf84fe7b

View file

@ -2,9 +2,9 @@
<div class="modal {% if active %}is-active{% endif %}" id="{{ id }}">
<div class="modal-background" data-modal-close></div>
<div class="modal-card" role="dialog" aria-modal="true" tabindex="-1">
<div class="modal-card" role="dialog" aria-modal="true" tabindex="-1" aria-described-by="{{ id }}_header">
<header class="modal-card-head">
<h2 class="modal-card-title mb-0">
<h2 class="modal-card-title mb-0" id="{{ id }}_header">
{% block modal-title %}{% endblock %}
</h2>
<button