change html tags

This commit is contained in:
MathuraMG 2016-07-14 17:20:44 -04:00
parent b4c15e70df
commit 589bc9f630
3 changed files with 5 additions and 5 deletions

View file

@ -3,7 +3,7 @@ import { Link } from 'react-router';
function Nav(props) {
return (
<nav className="nav" role="navigation">
<nav className="nav" role="navigation" title="main-navigation">
<ul className="nav__items-left" title="project-menu">
<li className="nav__item">
<a

View file

@ -20,7 +20,7 @@ function Preferences(props) {
'preference__option--selected': !props.isTabIndent
});
return (
<div className={preferencesContainerClass} tabIndex="0" title="preference-menu">
<section className={preferencesContainerClass} tabIndex="0" title="preference-menu">
<div className="preferences__heading">
<h2 className="preferences__title">Preferences</h2>
<button className="preferences__exit-button" onClick={props.closePreferences}>
@ -74,7 +74,7 @@ function Preferences(props) {
<button className={preferencesTabOptionClass} onClick={props.indentWithTab}>Tabs</button>
</div>
</div>
</div>
</section>
);
}

View file

@ -3,7 +3,7 @@ import classNames from 'classnames';
function Sidebar(props) {
return (
<section className="sidebar">
<nav className="sidebar" role="navigation" title="file-navigation">
<ul className="sidebar__file-list" title="file-list">
{props.files.map(file => {
let itemClass = classNames({
@ -22,7 +22,7 @@ function Sidebar(props) {
);
})}
</ul>
</section>
</nav>
);
}