mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-11 01:42:34 +00:00
Fixed #108 - Enhance ARIA roles and attributes for the components
This commit is contained in:
parent
8ebfefd7fa
commit
1dbdf3c310
100 changed files with 590 additions and 287 deletions
|
@ -4,7 +4,7 @@
|
|||
<div class="p-overlaypanel-content">
|
||||
<slot></slot>
|
||||
</div>
|
||||
<button class="p-overlaypanel-close p-link" @click="hide" v-if="showCloseIcon">
|
||||
<button class="p-overlaypanel-close p-link" @click="hide" v-if="showCloseIcon" :aria-label="ariaCloseLabel">
|
||||
<span class="p-overlaypanel-close-icon pi pi-times"></span>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -24,7 +24,10 @@ export default {
|
|||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
appendTo: String,
|
||||
appendTo: {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
baseZIndex: {
|
||||
type: Number,
|
||||
default: 0
|
||||
|
@ -32,6 +35,10 @@ export default {
|
|||
autoZIndex: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
ariaCloseLabel: {
|
||||
type: String,
|
||||
default: 'close'
|
||||
}
|
||||
},
|
||||
data() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue