mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
add accessible names to table size counters
This commit is contained in:
1 parent
9e1bbf2944
commit
8f47ec6d4e
2 files changed
+30
No files matched your search
@@ -119,6 +119,7 @@
|
||||
<div class="flex items-center border border-neutral-200 rounded-md">
|
||||
<button
|
||||
class="inline-flex items-center justify-center w-6 h-6 rounded-md hover:bg-neutral-100"
|
||||
:aria-label="t(`decrease_${key}`)"
|
||||
@click="tableSize[key] = Math.max(tableSize[key] - 1, 1)"
|
||||
>
|
||||
<IconMinus
|
||||
@@ -129,6 +130,7 @@
|
||||
<span class="w-5 text-center">{{ tableSize[key] }}</span>
|
||||
<button
|
||||
class="inline-flex items-center justify-center w-6 h-6 rounded-md hover:bg-neutral-100"
|
||||
:aria-label="t(`increase_${key}`)"
|
||||
@click="tableSize[key] = Math.min(tableSize[key] + 1, 20)"
|
||||
>
|
||||
<IconPlus
|
||||
|
||||
Reference in new issue
Block a user