File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ module.exports = React.createClass( {
125
125
onClick = { this . isPrompt ( ) ? undefined : this . closeModal }
126
126
>
127
127
< div
128
- role = 'dialog '
128
+ role = 'document '
129
129
className = 'slds-modal__container'
130
130
onClick = { this . handleModalClick }
131
131
>
@@ -210,10 +210,10 @@ module.exports = React.createClass( {
210
210
if ( hasHeader ) {
211
211
header = (
212
212
< div className = { cx ( headerClass ) } >
213
+ < SLDSButton label = 'Close' variant = 'icon-inverse' iconName = 'close' iconSize = 'large' className = 'slds-modal__close' onClick = { this . closeModal } />
213
214
{ this . props . toast }
214
215
< h2 className = { cx ( titleClass ) } > { this . props . title } </ h2 >
215
216
{ this . props . tagline ? < p className = "slds-m-top--x-small" > { this . props . tagline } </ p > :null }
216
- < SLDSButton label = 'Close' variant = 'icon-inverse' iconName = 'close' iconSize = 'large' className = 'slds-modal__close' onClick = { this . closeModal } />
217
217
</ div >
218
218
)
219
219
} else {
You can’t perform that action at this time.
0 commit comments