feat(components): [el-message-box] add role="dialog" attribute (#5190)

This commit is contained in:
Delyan Haralanov 2022-01-07 03:38:25 +02:00 committed by GitHub
parent 0a768b41a9
commit d329984166
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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="[