move tabindex setting to modal controls
This commit is contained in:
1 parent
c4b7faca88
commit
4f0a0f3969
2 files changed
+3
-1
No files matched your search
@@ -36,7 +36,7 @@ layout: base.njk
|
||||
<button class="close-dialog" autofocus aria-label="close the image modal">×</button>
|
||||
<img class="modal-img" src="/img/{{ image.src }}" alt="{{ image.alt }}">
|
||||
</dialog>
|
||||
<img tabindex="0" class="hero" src="/img/{{ image.src }}" alt="{{ image.alt }}">
|
||||
<img class="hero" src="/img/{{ image.src }}" alt="{{ image.alt }}">
|
||||
{% endif %}
|
||||
|
||||
{{ content | safe }}
|
||||
|
||||
Reference in new issue
Block a user