forked from mirrors/bookwyrm
Adds aria-described-by to modal component
This commit is contained in:
parent
2f4899dc1f
commit
30bf84fe7b
1 changed files with 2 additions and 2 deletions
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
<div class="modal {% if active %}is-active{% endif %}" id="{{ id }}">
|
<div class="modal {% if active %}is-active{% endif %}" id="{{ id }}">
|
||||||
<div class="modal-background" data-modal-close></div>
|
<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">
|
<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 %}
|
{% block modal-title %}{% endblock %}
|
||||||
</h2>
|
</h2>
|
||||||
<button
|
<button
|
||||||
|
|
Loading…
Reference in a new issue