docs: tabs examples accessibility

This commit is contained in:
Benjamin Canac
2023-09-07 18:24:01 +02:00
parent 14cca48e96
commit 1d077c45d5
2 changed files with 4 additions and 4 deletions

View File

@@ -24,9 +24,9 @@ function onSubmitPassword () {
<template #account="{ item }">
<UCard @submit.prevent="onSubmitAccount">
<template #header>
<h3 class="text-base font-semibold leading-6 text-gray-900 dark:text-white">
<p class="text-base font-semibold leading-6 text-gray-900 dark:text-white">
{{ item.label }}
</h3>
</p>
<p class="mt-1 text-sm text-gray-500 dark:text-gray-400">
Make changes to your account here. Click save when you're done.
</p>

View File

@@ -22,9 +22,9 @@ function onSubmit (form) {
<template #item="{ item }">
<UCard @submit.prevent="() => onSubmit(item.key === 'account' ? accountForm : passwordForm)">
<template #header>
<h3 class="text-base font-semibold leading-6 text-gray-900 dark:text-white">
<p class="text-base font-semibold leading-6 text-gray-900 dark:text-white">
{{ item.label }}
</h3>
</p>
<p class="mt-1 text-sm text-gray-500 dark:text-gray-400">
{{ item.description }}
</p>