feateure: updated the component that contains the accordion content

This commit is contained in:
Paul Valerie GOMA 2025-07-21 15:27:04 +02:00
parent b17fc6e8d3
commit a8d052894e

View File

@ -13,7 +13,7 @@ const props = withDefaults(defineProps<IVAccordion>(), {
<template>
<AccordionPanel :id="props.id" :value="panelValue" :disabled="props.disabled" :class="['p-accordionpanel', {'disabled': props.disabled}]">
<AccordionHeader class="p-accordionheader">
<AccordionHeader class="p-accordionheader" role="heading" :aria-level="panelValue">
<slot name="header"></slot>
</AccordionHeader>
<AccordionContent class="p-accordioncontent">