fix: Response Splitting dropdown in admin Audio settings has no label for screen readers (#32180)

Screen readers announced the Response Splitting dropdown in Admin Settings > Audio without a name. It is now announced as "Select how to split message text for TTS requests". Nothing changes visually.

Fixes #32010
This commit is contained in:
Classic298 authored and GitHub committed 2026-10-10 19:54:42 +04:00
1 parent 4b088a4a9b
commit 9d888fbd52
1 file changed
+1 -1
@@ -800,7 +800,7 @@
description={$i18n.t('settings.admin.audio.responseSplitting.description')}
>
<SettingsSelect
aria-label={$i18n.t('Select how to split message text for TTS requests')}
ariaLabel={$i18n.t('Select how to split message text for TTS requests')}
bind:value={TTS_SPLIT_ON}
>
{#each [{ value: TTS_RESPONSE_SPLIT.PUNCTUATION, label: $i18n.t('Punctuation') }, { value: TTS_RESPONSE_SPLIT.PARAGRAPHS, label: $i18n.t('Paragraphs') }, { value: TTS_RESPONSE_SPLIT.NONE, label: $i18n.t('None') }] as split}