aria-role fixes

This commit is contained in:
kwaroran
2024-12-02 04:27:50 +09:00
parent 8f72b9e6e2
commit 0e292bd690
20 changed files with 99 additions and 42 deletions

View File

@@ -475,6 +475,7 @@
{#if $doingChat || doingChatInputTranslate}
<button
aria-labelledby="cancel"
class="peer-focus:border-textcolor flex justify-center border-y border-darkborderc items-center text-gray-100 p-3 hover:bg-blue-500 transition-colors" onclick={abortChat}
style:height={inputHeight}
>

View File

@@ -87,7 +87,7 @@
<div class="box bg-darkbg bg-opacity-70" bind:this="{box}" style="width: {$ViewBoxsize.width}px; height: {$ViewBoxsize.height}px;">
<!-- Your content here -->
<TransitionImage classType='risu' src={getEmotion(DBState.db, $CharEmotion, 'plain')}/>
<div
<div role="button" tabindex="0"
class="resize-handle"
onmousedown={handleStart}
onmouseup={handleEnd}