change html tags
This commit is contained in:
parent
b4c15e70df
commit
589bc9f630
3 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@ import { Link } from 'react-router';
|
||||||
|
|
||||||
function Nav(props) {
|
function Nav(props) {
|
||||||
return (
|
return (
|
||||||
<nav className="nav" role="navigation">
|
<nav className="nav" role="navigation" title="main-navigation">
|
||||||
<ul className="nav__items-left" title="project-menu">
|
<ul className="nav__items-left" title="project-menu">
|
||||||
<li className="nav__item">
|
<li className="nav__item">
|
||||||
<a
|
<a
|
||||||
|
|
|
@ -20,7 +20,7 @@ function Preferences(props) {
|
||||||
'preference__option--selected': !props.isTabIndent
|
'preference__option--selected': !props.isTabIndent
|
||||||
});
|
});
|
||||||
return (
|
return (
|
||||||
<div className={preferencesContainerClass} tabIndex="0" title="preference-menu">
|
<section className={preferencesContainerClass} tabIndex="0" title="preference-menu">
|
||||||
<div className="preferences__heading">
|
<div className="preferences__heading">
|
||||||
<h2 className="preferences__title">Preferences</h2>
|
<h2 className="preferences__title">Preferences</h2>
|
||||||
<button className="preferences__exit-button" onClick={props.closePreferences}>
|
<button className="preferences__exit-button" onClick={props.closePreferences}>
|
||||||
|
@ -74,7 +74,7 @@ function Preferences(props) {
|
||||||
<button className={preferencesTabOptionClass} onClick={props.indentWithTab}>Tabs</button>
|
<button className={preferencesTabOptionClass} onClick={props.indentWithTab}>Tabs</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</section>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ import classNames from 'classnames';
|
||||||
|
|
||||||
function Sidebar(props) {
|
function Sidebar(props) {
|
||||||
return (
|
return (
|
||||||
<section className="sidebar">
|
<nav className="sidebar" role="navigation" title="file-navigation">
|
||||||
<ul className="sidebar__file-list" title="file-list">
|
<ul className="sidebar__file-list" title="file-list">
|
||||||
{props.files.map(file => {
|
{props.files.map(file => {
|
||||||
let itemClass = classNames({
|
let itemClass = classNames({
|
||||||
|
@ -22,7 +22,7 @@ function Sidebar(props) {
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</nav>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue