mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
feat(components): [el-message-box] add role="dialog" attribute (#5190)
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
<div
|
||||
ref="root"
|
||||
v-trap-focus
|
||||
role="dialog"
|
||||
:aria-label="title || 'dialog'"
|
||||
aria-modal="true"
|
||||
:class="[
|
||||
|
||||
Reference in New Issue
Block a user