diff --git a/src-svelte/src/lib/controls/Button.svelte b/src-svelte/src/lib/controls/Button.svelte index 870afb9b..8590af94 100644 --- a/src-svelte/src/lib/controls/Button.svelte +++ b/src-svelte/src/lib/controls/Button.svelte @@ -3,6 +3,7 @@ export let unwrapped = false; export let rightEnd = false; + export let ariaLabel: string | undefined = undefined; const dispatchClickEvent = createEventDispatcher(); function handleClick() { @@ -15,6 +16,7 @@ class="cut-corners inner" class:right-end={rightEnd} type="submit" + aria-label={ariaLabel} on:click={handleClick} > @@ -24,6 +26,7 @@ class="cut-corners outer" class:right-end={rightEnd} type="submit" + aria-label={ariaLabel} on:click={handleClick} >
diff --git a/src-svelte/src/routes/chat/Form.svelte b/src-svelte/src/routes/chat/Form.svelte index 08952df9..6b950499 100644 --- a/src-svelte/src/routes/chat/Form.svelte +++ b/src-svelte/src/routes/chat/Form.svelte @@ -52,7 +52,7 @@ bind:this={textareaInput} bind:value={currentMessage} /> - +