Use landmark regions on columns (#1732)

Closes mastodon#1720
This commit is contained in:
JP DeVries 2017-04-14 11:12:59 +02:00 committed by Eugen
parent 8b74aa4217
commit 1467515d3d
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>