Merge branch 'master' into editor-accessibility-unique-key-warning

This commit is contained in:
omnikrll 2016-08-24 16:43:12 -04:00
commit 006c78a362
2 changed files with 5 additions and 4 deletions

View file

@ -11,11 +11,12 @@ const exitUrl = require('../../../images/exit.svg');
class SketchList extends React.Component {
componentDidMount() {
this.props.getProjects(this.props.username);
document.getElementById('sketchlist').focus();
}
render() {
return (
<div className="sketch-list">
<section className="sketch-list" aria-label="project list" tabIndex="0" role="main" id="sketchlist">
<header className="sketch-list__header">
<h2>Sketches</h2>
<button className="sketch-list__exit-button" onClick={this.props.closeSketchList}>
@ -42,7 +43,7 @@ class SketchList extends React.Component {
</tbody>
</table>
</div>
</div>
</section>
);
}
}

View file

@ -17,14 +17,14 @@ class TextOutput extends React.Component {
</section>
<p
tabIndex="0"
role="region"
role="main"
id="textOutput-content-summary"
aria-label="text output summary"
>
</p>
<table
tabIndex="0"
role="region"
role="main"
id="textOutput-content-details"
aria-label="text output summary details"
>