Browse Source

Use landmark regions on columns (#1732)

Closes mastodon#1720
closed-social-glitch-2
JP DeVries 7 years ago
committed by Eugen
parent
commit
1467515d3d
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      app/assets/javascripts/components/features/ui/components/column.jsx
  2. +1
    -1
      app/assets/javascripts/components/features/ui/components/column_header.jsx

+ 1
- 1
app/assets/javascripts/components/features/ui/components/column.jsx 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>

+ 1
- 1
app/assets/javascripts/components/features/ui/components/column_header.jsx 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>

Loading…
Cancel
Save