Skip to content

Commit eea8279

Browse files
committed
fixup! aria-describedby
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
1 parent 3c4985a commit eea8279

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/components/ConversationSettings/NotificationsSettings.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,26 @@
3333
<NcCheckboxRadioSwitch v-if="supportImportantConversations"
3434
id="important"
3535
v-model="isImportant"
36+
aria-describedby="important-hint"
3637
type="switch"
3738
@update:model-value="toggleImportant">
3839
{{ t('spreed', 'Important conversation') }}
3940
</NcCheckboxRadioSwitch>
4041

41-
<p class="notifications__hint">
42+
<p id="important-hint" class="notifications__hint">
4243
{{ t('spreed', '"Do not disturb" user status is ignored for important conversations') }}
4344
</p>
4445

4546
<NcCheckboxRadioSwitch v-if="supportSensitiveConversations"
4647
id="sensitive"
4748
v-model="isSensitive"
49+
aria-describedby="sensitive-hint"
4850
type="switch"
4951
@update:model-value="toggleSensitive">
5052
{{ t('spreed', 'Sensitive conversation') }}
5153
</NcCheckboxRadioSwitch>
5254

53-
<p class="notifications__hint">
55+
<p id="sensitive-hint" class="notifications__hint">
5456
{{ t('spreed', 'Message preview will be disabled in conversation list and notifications') }}
5557
</p>
5658
</div>

0 commit comments

Comments
 (0)