web/SmallDialog: focus title first when it's visible
This commit is contained in:
parent
80300bf766
commit
f07aac301c
1 changed files with 3 additions and 2 deletions
|
@ -57,7 +57,7 @@
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{#if title}
|
{#if title}
|
||||||
<h2>{title}</h2>
|
<h2 id="popup-title" tabindex="-1">{title}</h2>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
@ -189,7 +189,8 @@
|
||||||
-webkit-user-select: text;
|
-webkit-user-select: text;
|
||||||
}
|
}
|
||||||
|
|
||||||
.body-text:focus-visible {
|
.body-text:focus-visible,
|
||||||
|
h2:focus-visible {
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue