web/SmallDialog: focus title first when it's visible

This commit is contained in:
wukko 2024-07-21 13:49:22 +06:00
parent 80300bf766
commit f07aac301c
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -57,7 +57,7 @@
</div>
{/if}
{#if title}
<h2>{title}</h2>
<h2 id="popup-title" tabindex="-1">{title}</h2>
{/if}
</div>
{/if}
@ -189,7 +189,8 @@
-webkit-user-select: text;
}
.body-text:focus-visible {
.body-text:focus-visible,
h2:focus-visible {
box-shadow: none !important;
}