Skip to content

Commit 0dba9f3

Browse files
committed
Set modal role back to dialog
This is following a discussion with Jesse Hausler, Principal Accessibility Specialist, who recommends `role="dialog"`.
1 parent cf33fae commit 0dba9f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/SLDSModal/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ module.exports = React.createClass( {
131131
onClick={this.isPrompt() ? undefined : this.closeModal}
132132
>
133133
<div
134-
role='document'
134+
role='dialog'
135135
className='slds-modal__container'
136136
onClick={this.handleModalClick}
137137
>

0 commit comments

Comments
 (0)