Skip to content

Commit

Permalink
Add missing aria labels
Browse files Browse the repository at this point in the history
  • Loading branch information
will-ks committed Sep 15, 2020
1 parent 9a80cbc commit 52d466b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/RichTextEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ export default class RichTextEditor extends Component {
onTab={this._onTab}
onChange={this._onChange}
placeholder={placeholder}
ariaLabel={placeholder}
ref={(el) => {
this.editor = el;
}}
Expand Down
1 change: 1 addition & 0 deletions src/lib/EditorToolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export default class EditorToolbar extends Component {
choices={choices}
selectedKey={blockType}
onChange={this._selectBlockType}
aria-label={'Block type'}
/>
</ButtonGroup>
);
Expand Down

0 comments on commit 52d466b

Please sign in to comment.