A11Y: Improve accessibility for saved status message (#18950)

Toggling channel settings shows a status message when saved. This status message is not accessible to screen readers. This commit ensures that the status message is made accessible.
This commit is contained in:
Keegan George
2022-11-09 10:12:35 -08:00
committed by GitHub
parent b122298428
commit 3d376c71b6
3 changed files with 17 additions and 3 deletions

View File

@@ -46,6 +46,10 @@ en:
leave_channel: "Leave channel"
join: "Join"
leave: "Leave"
save_label:
mute_channel: "Mute channel preference saved"
desktop_notification: "Desktop notification preference saved"
mobile_notification: "Mobile push notification preference saved"
channel_archive:
title: "Archive Channel"
instructions: "<p>Archiving a channel puts it into read-only mode and moves all messages from the channel into a new or existing topic. No new messages can be sent, and no existing messages can be edited or deleted.</p><p>Are you sure you want to archive the <strong>%{channelTitle}</strong> channel?</p>"