mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
Add aria-labelledby to icon-button to make assistive tech able to give info on what user can expect from button
This commit is contained in:
parent
0889dd3a51
commit
86ce111edd
@ -87,6 +87,7 @@
|
|||||||
<div class="flex justify-center mt-8">
|
<div class="flex justify-center mt-8">
|
||||||
<div class="flex flex-col justify-center items-center">
|
<div class="flex flex-col justify-center items-center">
|
||||||
<button
|
<button
|
||||||
|
aria-labelledby="get-started"
|
||||||
class="relative z-20 flex p-1 rounded-full bg-white/5 hover:bg-white/10 transition font-medium text-sm"
|
class="relative z-20 flex p-1 rounded-full bg-white/5 hover:bg-white/10 transition font-medium text-sm"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
getStartedHandler();
|
getStartedHandler();
|
||||||
@ -94,12 +95,11 @@
|
|||||||
>
|
>
|
||||||
<ArrowRightCircle className="size-6" />
|
<ArrowRightCircle className="size-6" />
|
||||||
</button>
|
</button>
|
||||||
<div class="mt-1.5 font-primary text-base font-medium">{$i18n.t(`Get started`)}</div>
|
<div id="get-started" class="mt-1.5 font-primary text-base font-medium">{$i18n.t(`Get started`)}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- <div class="absolute bottom-12 left-0 right-0 w-full"></div> -->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
Reference in New Issue
Block a user