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 ca4bbb6 commit dc2211dCopy full SHA for dc2211d
resources/js/components/ui/card/Card.vue
@@ -4,11 +4,18 @@ import type { HTMLAttributes } from 'vue';
4
5
const props = defineProps<{
6
class?: HTMLAttributes['class'];
7
+ 'aria-labelledby'?: string;
8
+ 'aria-describedby'?: string;
9
}>();
10
</script>
11
12
<template>
- <div :class="cn('rounded-lg border bg-card text-card-foreground shadow-sm', props.class)">
13
+ <div
14
+ :class="cn('rounded-lg border bg-card text-card-foreground shadow-sm', props.class)"
15
+ role="region"
16
+ :aria-labelledby="props['aria-labelledby']"
17
+ :aria-describedby="props['aria-describedby']"
18
+ >
19
<slot />
20
</div>
21
</template>
0 commit comments