Skip to content

Commit

Permalink
Merge pull request #630 from WordPress/add/aria-pressed-editor-toolba…
Browse files Browse the repository at this point in the history
…r-toggle-buttons

Add aria-pressed to the editor toolbar toggle buttons.
  • Loading branch information
jasmussen authored May 8, 2017
2 parents 37d37cc + 9cf620e commit a9c8a66
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion editor/components/toolbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ function Toolbar( { controls } ) {
} }
className={ classNames( 'editor-toolbar__control', {
'is-active': control.isActive
} ) } />
} ) }
aria-pressed={ control.isActive }
/>
) ) }
</ul>
);
Expand Down

0 comments on commit a9c8a66

Please sign in to comment.