Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit 6d6acca

Browse files
committed
fix:BModal remove aria-labelledby when not present
1 parent b79790a commit 6d6acca

File tree

1 file changed

+1
-1
lines changed
  • packages/bootstrap-vue-next/src/components

1 file changed

+1
-1
lines changed

packages/bootstrap-vue-next/src/components/BModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
class="modal"
1616
:class="modalClasses"
1717
role="dialog"
18-
:aria-labelledby="`${computedId}-label`"
18+
:aria-labelledby="!hideHeaderBoolean ? `${computedId}-label` : undefined"
1919
:aria-describedby="`${computedId}-body`"
2020
tabindex="-1"
2121
v-bind="$attrs"

0 commit comments

Comments
 (0)