mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
aria: add role dialog (#13084)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user