We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca144b1 commit a657927Copy full SHA for a657927
app/components/CollapsibleSection.vue
@@ -104,14 +104,17 @@ useHead({
104
/>
105
</button>
106
107
- <span>
108
- <LinkBase :to="`#${id}`">
109
- {{ title }}
110
- </LinkBase>
+ <button
+ type="button"
+ class="text-start focus-visible:outline-accent/70 rounded"
+ :aria-label="`${isOpen ? 'Collapse' : 'Expand'} ${title}`"
111
+ @click="toggle"
112
+ >
113
+ {{ title }}
114
<span v-if="subtitle" class="block text-2xs normal-case tracking-normal">{{
115
subtitle
116
}}</span>
- </span>
117
+ </button>
118
</component>
119
120
<!-- Actions slot for buttons or other elements -->
0 commit comments