Skip to content

Commit

Permalink
Merge pull request #87 from LUI-UI/86-remove-arialabelledby-prop-on-m…
Browse files Browse the repository at this point in the history
…odal

fix(modal): fix modal aria-labelledby issue
  • Loading branch information
rhmkstk authored May 30, 2023
2 parents 839cd13 + 34943b3 commit ae8e9d2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/Modal/LuiModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ const props = defineProps({
size: {
type: String as PropType<Size>,
default: 'sm'
},
ariaLabelledBy: {
type: String as PropType<string>,
default: 'lui-modal'
}
})
const emit = defineEmits(['close'])
Expand Down Expand Up @@ -114,7 +110,7 @@ const computedModalClasses = computed(() => {
<div
role="dialog"
:id="modalId"
:aria-labelledby="ariaLabelledBy"
aria-labelledby="lui-modal"
aria-modal="true"
:class="computedModalClasses"
v-bind="$attrs"
Expand Down

0 comments on commit ae8e9d2

Please sign in to comment.