Add aria-live to network status area, left pane, and timeline
This commit is contained in:
parent
18d6582466
commit
3215be7849
3 changed files with 4 additions and 4 deletions
|
@ -53,7 +53,7 @@
|
||||||
|
|
||||||
<script type='text/x-tmpl-mustache' id='two-column'>
|
<script type='text/x-tmpl-mustache' id='two-column'>
|
||||||
<div class='gutter'>
|
<div class='gutter'>
|
||||||
<div class='network-status-container'></div>
|
<div class='network-status-container' aria-live='assertive'></div>
|
||||||
<div class='left-pane-placeholder'></div>
|
<div class='left-pane-placeholder'></div>
|
||||||
</div>
|
</div>
|
||||||
<div class='conversation-stack'>
|
<div class='conversation-stack'>
|
||||||
|
@ -93,7 +93,7 @@
|
||||||
<script type='text/x-tmpl-mustache' id='conversation'>
|
<script type='text/x-tmpl-mustache' id='conversation'>
|
||||||
<div class='conversation-header'></div>
|
<div class='conversation-header'></div>
|
||||||
<div class='main panel'>
|
<div class='main panel'>
|
||||||
<div class='timeline-placeholder'></div>
|
<div class='timeline-placeholder' aria-live='polite'></div>
|
||||||
<div class='bottom-bar' id='footer'>
|
<div class='bottom-bar' id='footer'>
|
||||||
<div class='compose'>
|
<div class='compose'>
|
||||||
<form class='send clearfix file-input'>
|
<form class='send clearfix file-input'>
|
||||||
|
|
|
@ -171,7 +171,7 @@ export class LeftPane extends React.Component<PropsType> {
|
||||||
// it re-renders when our conversation data changes. Otherwise it would just render
|
// it re-renders when our conversation data changes. Otherwise it would just render
|
||||||
// on startup and scroll.
|
// on startup and scroll.
|
||||||
const list = (
|
const list = (
|
||||||
<div className="module-left-pane__list" key={listKey}>
|
<div className="module-left-pane__list" key={listKey} aria-live="polite">
|
||||||
<AutoSizer>
|
<AutoSizer>
|
||||||
{({ height, width }) => (
|
{({ height, width }) => (
|
||||||
<List
|
<List
|
||||||
|
|
|
@ -306,7 +306,7 @@ export class SearchResults extends React.Component<PropsType> {
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="module-search-results">
|
<div className="module-search-results" aria-live="polite">
|
||||||
<AutoSizer>
|
<AutoSizer>
|
||||||
{({ height, width }) => {
|
{({ height, width }) => {
|
||||||
this.mostRecentWidth = width;
|
this.mostRecentWidth = width;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue