mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 11:17:46 +08:00
feat(components): [el-message-box] add role="dialog" attribute (#5190)
This commit is contained in:
parent
0a768b41a9
commit
d329984166
@ -10,6 +10,7 @@
|
|||||||
<div
|
<div
|
||||||
ref="root"
|
ref="root"
|
||||||
v-trap-focus
|
v-trap-focus
|
||||||
|
role="dialog"
|
||||||
:aria-label="title || 'dialog'"
|
:aria-label="title || 'dialog'"
|
||||||
aria-modal="true"
|
aria-modal="true"
|
||||||
:class="[
|
:class="[
|
||||||
|
Loading…
Reference in New Issue
Block a user