fix(a11y): enhance accessibility for chat settings components (#21715)

This commit adds aria-labels to the text inputs and textareas that previously lacked them, applies role=switch to inputs, and adds accessible titles to floating quick actions.
This commit is contained in:
Classic298
2026-02-22 14:33:07 -06:00
committed by GitHub
parent 1542dad51a
commit 16e567df57
8 changed files with 34 additions and 2 deletions
@@ -62,9 +62,9 @@
>{$i18n.t('Image Max Compression Size width')}</label
>
<input
id="image-comp-width"
bind:value={size.width}
type="number"
aria-labelledby="image-comp-width"
class="w-full bg-transparent outline-hidden text-center"
min="0"
placeholder={$i18n.t('Width')}
@@ -80,9 +80,9 @@
>{$i18n.t('Image Max Compression Size height')}</label
>
<input
id="image-comp-height"
bind:value={size.height}
type="number"
aria-labelledby="image-comp-height"
class="w-full bg-transparent outline-hidden text-center"
min="0"
placeholder={$i18n.t('Height')}