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

@@ -73,7 +73,7 @@
<CheckCircle2Icon size={18}/>
</button>
{:else if DBState.db.enabledModules.includes(rmodule.id)}
<button class="mr-2 text-textcolor2 cursor-not-allowed">
<button class="mr-2 text-textcolor2 cursor-not-allowed"aria-labelledby="disabled">
</button>
{:else}
<button class={(!DBState.db.characters[$selectedCharID].chats[DBState.db.characters[$selectedCharID].chatPage].modules.includes(rmodule.id)) ?