mirror of https://github.com/ElemeFE/element
aria: add role dialog (#13084)
parent
6ae54e5230
commit
97728bddb5
|
@ -5,6 +5,9 @@
|
|||
@after-leave="afterLeave">
|
||||
<div class="el-dialog__wrapper" v-show="visible" @click.self="handleWrapperClick">
|
||||
<div
|
||||
role="dialog"
|
||||
aria-modal="true"
|
||||
:aria-label="title || 'dialog'"
|
||||
class="el-dialog"
|
||||
:class="[{ 'is-fullscreen': fullscreen, 'el-dialog--center': center }, customClass]"
|
||||
ref="dialog"
|
||||
|
|
Loading…
Reference in New Issue