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 2026-10-10 17:54:42 +02:00 • committed by GitHub
parent 4b088a4a9b
commit 9d888fbd52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}