-
-
Notifications
You must be signed in to change notification settings - Fork 829
Don't speak the outgoing message if it is in the Sending state. #4075
Don't speak the outgoing message if it is in the Sending state. #4075
Conversation
Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
Signed-off-by: Marco Zehe <marco@marcozehe.de>
bf27546
to
636b023
Compare
@t3chguy This is the current state. it reduces the number of speaking the message from 3 without this patch, to 2, with this patch. One is definitely the echo coming back from the server, observable especially in cases where the Matrix home server is under heavy load, and the echo comes back with a delay. However, there is still one more time before that echo where this live region triggers, and it seems to be something outside the usual sending state checks, as you can see in the current version of the patch. I exclude basically every state except null. |
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
|
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
… SuppressSpeechWhenSending
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this, looks good to me! 😄
The idea is to put aria-live="off" on the event tile if the state is Sending. However, this approach does not yet work for some reason. Submitting as draft for collaboration.