Merge pull request 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
1 changed files with 1 additions and 1 deletions
skins/base/views/organisms

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()}