Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Move aria-labelledby prop to dialog element in modal
Browse files Browse the repository at this point in the history
  • Loading branch information
kulmann committed Aug 24, 2021
1 parent 275c92f commit 2def914
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/OcModal.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<template>
<div class="oc-modal-background" aria-labelledby="oc-modal-title">
<div class="oc-modal-background">
<focus-trap :active="focusTrapActive">
<div
ref="$_ocModal"
:class="classes"
tabindex="0"
role="dialog"
aria-modal="true"
aria-labelledby="oc-modal-title"
@keydown.esc="cancelModalAction"
>
<div class="oc-modal-title">
Expand Down

0 comments on commit 2def914

Please sign in to comment.