Always speak the full text of the typing indicator when it updates.
By default, aria-live regions only speak partial updates. However in the case of the typing indicator, if it goes from one person typing to several, and back, the updated text would only be spoken in fragments by screen readers. Adding the aria-atomic attribute with a value of true makes screen readers always speak the full update for this tile, making the experience much nicer. Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
This commit is contained in:
parent
43f15ab47d
commit
b83bc7db68
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ export default createReactClass({
|
|||
}
|
||||
|
||||
return (
|
||||
<li className="mx_WhoIsTypingTile">
|
||||
<li className="mx_WhoIsTypingTile" aria-atomic="true">
|
||||
<div className="mx_WhoIsTypingTile_avatars">
|
||||
{ this._renderTypingIndicatorAvatars(usersTyping, this.props.whoIsTypingLimit) }
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue