mirror of https://github.com/vector-im/riot-web
Merge pull request #1 from ndarilek/master
Add aria-live=polite to message list, needed for accessibility.pull/1/head
commit
d49c10b3f5
|
@ -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()}
|
||||||
|
|
Loading…
Reference in New Issue