Use landmark regions on columns (#1732)

Closes mastodon#1720
lolsob-rspec
JP DeVries 2017-04-14 11:12:59 +02:00 committed by Eugen
parent 22f1d9099a
commit 0dc20d827a
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ const Column = React.createClass({
}
return (
<div className='column' onWheel={this.handleWheel}>
<div role='section' className='column' onWheel={this.handleWheel}>
{header}
{children}
</div>

View File

@ -25,7 +25,7 @@ const ColumnHeader = React.createClass({
}
return (
<div className={`column-header ${active ? 'active' : ''}`} onClick={this.handleClick}>
<div aria-label={type} className={`column-header ${active ? 'active' : ''}`} onClick={this.handleClick}>
{icon}
{type}
</div>