Skip to content

Commit

Permalink
[MA-18]: Added dialog role to the emoji picker
Browse files Browse the repository at this point in the history
  • Loading branch information
ayush-chauhan233 committed Dec 13, 2024
1 parent 6e2c34b commit 2e58fe1
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ export default class EmojiPickerTabs extends PureComponent<Props, State> {
className={classNames('a11y__popup', 'emoji-picker', 'emoji-picker--single', {
bottom: this.props.placement === 'bottom',
})}
role='dialog'
aria-label='Emoji picker'
aria-modal='true'
>
<EmojiPickerHeader handleEmojiPickerClose={this.handleEmojiPickerClose}/>
<EmojiPicker
Expand Down

0 comments on commit 2e58fe1

Please sign in to comment.