Skip to content

Commit eb038f5

Browse files
committed
prevent empty string in aria-describedby attribute
1 parent 9bcf068 commit eb038f5

File tree

1 file changed

+1
-1
lines changed
  • packages/dialtone-vue/components/modal

1 file changed

+1
-1
lines changed

packages/dialtone-vue/components/modal/modal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
modalClass,
1414
]"
1515
data-qa="dt-modal"
16-
:aria-describedby="describedById"
16+
:aria-describedby="describedById || undefined"
1717
:aria-labelledby="labelledById"
1818
v-bind="modeAttrs"
1919
@cancel.prevent="close"

0 commit comments

Comments
 (0)