Add aria-live=polite to message list view.

This commit is contained in:
Nolan Darilek 2015-07-06 12:22:28 -05:00
parent b4abe870cf
commit 9153efd3de

View file

@ -69,7 +69,7 @@ module.exports = React.createClass({
<div className="mx_RoomView"> <div className="mx_RoomView">
<RoomHeader room={this.state.room} /> <RoomHeader room={this.state.room} />
<div className="mx_RoomView_HSplit"> <div className="mx_RoomView_HSplit">
<ul className="mx_RoomView_MessageList" ref="messageList" onScroll={this.onMessageListScroll}> <ul className="mx_RoomView_MessageList" ref="messageList" aria-live="polite" onScroll={this.onMessageListScroll}>
<li className={scrollheader_classes}> <li className={scrollheader_classes}>
</li> </li>
{this.getEventTiles()} {this.getEventTiles()}