]> cat aescling's git repositories - mastodon.git/commitdiff
Moving aria-label to div.column (#1769)
authorJP DeVries <mail@devries.jp>
Tue, 18 Apr 2017 15:21:25 +0000 (17:21 +0200)
committerEugen <eugen@zeonfederated.com>
Tue, 18 Apr 2017 15:21:25 +0000 (17:21 +0200)
* Use landmark regions on columns

Closes mastodon#1720

* Moving aria-label to div.column

app/assets/javascripts/components/features/ui/components/column.jsx

index 0e78c5920af80dd2709436997e9583ca909f8729..f0e3c25cc1843ba9438f320f20b68612469faba4 100644 (file)
@@ -64,7 +64,7 @@ const Column = React.createClass({
     }
 
     return (
-      <div role='section' className='column' onWheel={this.handleWheel}>
+      <div role='section' aria-label={heading} className='column' onWheel={this.handleWheel}>
         {header}
         {children}
       </div>