Skip to content

Commit 8ed95f2

Browse files
committed
fix: fix aria labels
1 parent 981b1f5 commit 8ed95f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/chart.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ export const Chart = defineComponent({
124124
'canvas',
125125
{
126126
role: 'img',
127-
ariaLabel: props.ariaLabel,
128-
ariaDescribedby: props.ariaDescribedby,
127+
'aria-label': props.ariaLabel,
128+
'aria-describedby': props.ariaDescribedby,
129129
ref: canvasRef
130130
},
131131
[h('p', {}, [slots.default ? slots.default() : ''])]

0 commit comments

Comments
 (0)