mirror of
https://github.com/discourse/discourse.git
synced 2026-08-04 10:39:43 +08:00
This introduces two new chat settings in user preferences, grouped in a new accessibility section. The first "announce new messages to screen readers", defaults on, and uses an aria live region to politely announce messages as they're posted. There's some grouping (user sent 3 messages) and throttling involved here in cases where many messages are sent, and attachments are also referenced. The second "Play a sound for every new message while chat is in the foreground" is default off, and provides an optional secondary approach if the announcement of messages proves to be too noisy. This plays a sound for each message (throttled slightly to avoid floods), and leans on our existing chat sounds. <img width="500" alt="image" src="https://github.com/user-attachments/assets/3c4e6173-3b2d-463d-9040-050311f91d63" /> |
||
|---|---|---|
| .. | ||
| fixtures | ||
| migrate | ||
| post_migrate | ||