Permalink
Browse files

Fix aria labels on block ordering buttons

  • Loading branch information...
ragesoss committed Dec 19, 2018
1 parent 56cedf5 commit 067e4a1ce704d484f1763edab0585d76de2604a1
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/assets/javascripts/components/timeline/orderable_block.jsx
@@ -25,10 +25,10 @@ const OrderableBlock = createReactClass({
<div className="block block--orderable" style={{ opacity }}>
<h4 className="block-title">{this.props.title}</h4>
<p>{this.props.kind}</p>
<button onClick={this.props.onMoveDown} className="button border" aria-label={I18n.t('timeline.move_block_up')} disabled={this.props.disableDown}>
<button onClick={this.props.onMoveDown} className="button border" aria-label={I18n.t('timeline.move_block_down')} disabled={this.props.disableDown}>
<i className="icon icon-arrow-down" />
</button>
<button onClick={this.props.onMoveUp} className="button border" aria-label={I18n.t('timeline.move_block_down')} disabled={this.props.disableUp}>
<button onClick={this.props.onMoveUp} className="button border" aria-label={I18n.t('timeline.move_block_up')} disabled={this.props.disableUp}>
<i className="icon icon-arrow-up" />
</button>
</div>);

1 comment on commit 067e4a1

@takidelfin

This comment has been minimized.

Copy link
Contributor

takidelfin commented on 067e4a1 Dec 24, 2018

🎉 10,000th commit! 🎉

Please sign in to comment.