Use landmark regions on columns (#1732)

Closes mastodon#1720
main
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>