Use landmark regions on columns (#1732)

Closes mastodon#1720
master
JP DeVries 8 years ago committed by Eugen
parent 8b74aa4217
commit 1467515d3d
  1. 2
      app/assets/javascripts/components/features/ui/components/column.jsx
  2. 2
      app/assets/javascripts/components/features/ui/components/column_header.jsx

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

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

Loading…
Cancel
Save