Skip to content

Commit

Permalink
Move aria label to IgnoreNestedEvents (#7305)
Browse files Browse the repository at this point in the history
Co-authored-by: enejb <enej.bajgoric@automattic.com>
  • Loading branch information
2 people authored and youknowriad committed Jun 14, 2018
1 parent f449352 commit 09f9334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/components/block-list/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ export class BlockListBlock extends Component {
onClick={ this.onClick }
onKeyDown={ this.deleteOrInsertAfterWrapper }
tabIndex="0"
aria-label={ blockLabel }
childHandledEvents={ [
'onDragStart',
'onMouseDown',
Expand Down Expand Up @@ -542,7 +543,6 @@ export class BlockListBlock extends Component {
onDragStart={ this.preventDrag }
onMouseDown={ this.onPointerDown }
className="editor-block-list__block-edit"
aria-label={ blockLabel }
data-block={ uid }
>

Expand Down

0 comments on commit 09f9334

Please sign in to comment.