Skip to content

Commit

Permalink
add aria
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidFyon committed Oct 10, 2024
1 parent d8fe35c commit 291cf15
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/synapse-bridge/src/elements/DialogBox/DialogBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,16 @@ export default defineComponent({
:persistent="persistent"
:retain-focus="false"
aria-modal="true"
aria-describedby="dialogContent"
class="vd-dialog-box"
@update:model-value="$emit('update:modelValue', false)"
@keydown.tab="handleFocus"
>
<VCard v-bind="options.card" ref="dialogContent" id="dialogContent">
<VCard
v-bind="options.card"
ref="dialogContent"
id="dialogContent"
aria-labelledby="dialogContent"
>
<VCardTitle v-bind="options.cardTitle">
<slot name="title">
<h2 v-if="title" class="text-h6 font-weight-bold">
Expand Down

0 comments on commit 291cf15

Please sign in to comment.