Merge pull request #1 from ndarilek/master

Add aria-live=polite to message list, needed for accessibility.
This commit is contained in:
David Baker 2015-07-06 18:25:42 +01:00
commit d49c10b3f5

View File

@ -69,7 +69,7 @@ module.exports = React.createClass({
<div className="mx_RoomView">
<RoomHeader room={this.state.room} />
<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>
{this.getEventTiles()}