✨ feature: Added aria-disabled attribute
This commit is contained in:
parent
82759bdcae
commit
34427c40a2
|
@ -12,7 +12,12 @@ const props = withDefaults(defineProps<IVAccordion>(), {
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<AccordionPanel :id="props.id" :value="panelValue" :disabled="props.disabled" :class="['p-accordionpanel', {'disabled': props.disabled}]">
|
||||
<AccordionPanel
|
||||
:id="props.id"
|
||||
:value="panelValue"
|
||||
:disabled="props.disabled"
|
||||
:aria-disabled="props.disabled"
|
||||
:class="['p-accordionpanel', {'disabled': props.disabled}]">
|
||||
<AccordionHeader class="p-accordionheader" role="heading" :aria-level="panelValue">
|
||||
<slot name="header"></slot>
|
||||
</AccordionHeader>
|
||||
|
|
Loading…
Reference in New Issue
Block a user