move tabindex setting to modal controls
This commit is contained in:
@ -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