add landmark roles and labels

This commit is contained in:
KDSBrowne 2017-03-15 08:24:57 -07:00
parent b5b0383e0b
commit c4e8dffdb7
2 changed files with 15 additions and 15 deletions

View File

@ -50,9 +50,9 @@ export default class App extends Component {
if (navbar) {
return (
<header className={styles.navbar}>
<div className={styles.navbar}>
{navbar}
</header>
</div>
);
}
@ -85,9 +85,9 @@ export default class App extends Component {
});
return (
<nav className={cx(styles.userList, userListStyle)}>
<div className={cx(styles.userList, userListStyle)} role="region" aria-label="user list">
{userList}
</nav>
</div>
);
}
@ -99,9 +99,9 @@ export default class App extends Component {
if (chat) {
return (
<section className={styles.chat} role="log">
<div className={styles.chat} role="region" aria-label="chat">
{chat}
</section>
</div>
);
}
@ -113,9 +113,9 @@ export default class App extends Component {
if (media) {
return (
<section className={styles.media}>
<div className={styles.media} role="region" aria-label="media">
{media}
</section>
</div>
);
}
@ -126,9 +126,9 @@ export default class App extends Component {
const { captions } = this.props;
if (captions && this.props.getCaptionsStatus()) {
return (
<section className={styles.closedCaptions}>
<div className={styles.closedCaptions} role="region" aria-label="Closed Captions">
{captions}
</section>
</div>
);
}
}
@ -138,9 +138,9 @@ export default class App extends Component {
if (actionsbar) {
return (
<section className={styles.actionsbar}>
<div className={styles.actionsbar} role="region" aria-label="actions bar">
{actionsbar}
</section>
</div>
);
}
@ -211,7 +211,7 @@ export default class App extends Component {
}
return (
<main className={styles.main}>
<main className={styles.main} role="main">
<AudioNotificationContainer />
<NotificationsBarContainer />
<section className={styles.wrapper}>

View File

@ -75,12 +75,12 @@ class NavBar extends Component {
ghost={true}
circle={true}
hideLabel={true}
label={'Toggle User-List'}
label={'User-List Toggle'}
icon={'user'}
className={cx(toggleBtnClasses)}
/>
</div>
<div className={styles.center}>
<div className={styles.center} role="banner">
{this.renderPresentationTitle()}
<RecordingIndicator beingRecorded={beingRecorded}/>
</div>