about summary refs log tree commit diff
path: root/app/assets/javascripts/components/features
diff options
context:
space:
mode:
authorJP DeVries <mail@devries.jp>2017-04-18 17:21:25 +0200
committerEugen <eugen@zeonfederated.com>2017-04-18 17:21:25 +0200
commit752597156134b5970f8d0660e1dc9b61ee342e2b (patch)
treec4076c866713bddd14f08b8201bd72e5d68db0ee /app/assets/javascripts/components/features
parent84b5fae8e37b9c1b3766efc047993c69ea046ae3 (diff)
Moving aria-label to div.column (#1769)
* Use landmark regions on columns

Closes mastodon#1720

* Moving aria-label to div.column
Diffstat (limited to 'app/assets/javascripts/components/features')
-rw-r--r--app/assets/javascripts/components/features/ui/components/column.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/ui/components/column.jsx b/app/assets/javascripts/components/features/ui/components/column.jsx
index 0e78c5920..f0e3c25cc 100644
--- a/app/assets/javascripts/components/features/ui/components/column.jsx
+++ b/app/assets/javascripts/components/features/ui/components/column.jsx
@@ -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>