Skip to content

Commit da17319

Browse files
committed
fix: 🐛 update textarea default attributes
1 parent 5325830 commit da17319

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/lib/textarea/textarea.svelte

-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@
9191
aria-labelledby={araiLabelledBy}
9292
autocapitalize="off"
9393
autocomplete="off"
94-
autocorrect="off"
9594
rows="4"
9695
class=" transition-all border {textareaClass} block px-[12px] py-[10px] w-full rounded-[6px] outline-none
9796
bg-kui-light-bg dark:bg-kui-dark-bg"

src/routes/colors/+page.svelte

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<li class="w-full max-w-[68px]">
5454
<Tooltip position="top" text={item} class="w-full h-full">
5555
<div class="w-full h-full flex items-center">
56-
<button class="w-full h-[30px] md:h-10 border border-opacity-5 border-kui-light-gray-1000 dark:border-kui-dark-gray-500 rounded {item}"></button>
56+
<button aria-label="{item}" class="w-full h-[30px] md:h-10 border border-opacity-5 border-kui-light-gray-1000 dark:border-kui-dark-gray-500 rounded {item}"></button>
5757
</div>
5858
</Tooltip>
5959
</li>
@@ -90,14 +90,14 @@
9090
<ul class="flex items-center w-full gap-1 md:gap-2">
9191
<li class="w-full max-w-[68px]">
9292
<div class="w-full h-full flex items-center">
93-
<button
93+
<button aria-label="gray"
9494
class="w-full h-[34px] lg:h-[40px] border border-kui-light-gray-200 dark:border-kui-dark-gray-200 bg-kui-light-bg rounded dark:bg-kui-dark-bg"
9595
></button>
9696
</div>
9797
</li>
9898
<li class="w-full max-w-[68px]">
9999
<div class="w-full h-full flex items-center">
100-
<button
100+
<button aria-label="gray alpha"
101101
class="w-full h-[34px] lg:h-[40px] border border-kui-light-gray-200 dark:border-kui-dark-gray-200 rounded bg-kui-light-bg-secondary dark:bg-kui-dark-bg-secondary"
102102
></button>
103103
</div>

0 commit comments

Comments
 (0)