Closed arknu closed 1 year ago
@arknu
This PR is unnecessary. aria-labelledby
is a data attribute, you can just bind it on the root of VueFinalModal:
<template>
<VueFinalModal
v-model="options.modelValue"
aria-labelledby="id"
>
...
<VueFinalModal>
</template>
@hunterliu1003 Indeed, it appears that this will just work without any code changes. All for the better then, closing this PR.
Resolves #208
This PR implements support for setting the aria-labelledby attribute, as required by accesibility standards. I have tried to follow existing conventions in the code as closely as possible.