Add dialog roles and labelling to legacy modals

This commit is contained in:
thePR0M3TH3AN committed 2025-10-11 09:39:11 -04:00
1 parent 20c8f1bb6c
commit 760f449d0c
6 files changed
+63 -14

No files matched your search

+9 -2
View File
@@ -4,13 +4,20 @@
<div
id="featureRequestModal"
class="bv-modal hidden items-start justify-center overflow-y-auto"
role="dialog"
aria-modal="true"
aria-labelledby="featureRequestModalTitle"
aria-describedby="featureRequestModalDescription"
>
<div class="bv-modal-backdrop" data-dismiss></div>
<div class="modal-sheet">
<!-- Header bar (sticky) with updated title styling -->
<div class="modal-header">
<h2 class="pb-2 text-3xl font-extrabold tracking-wide text-text">
<h2
id="featureRequestModalTitle"
class="pb-2 text-3xl font-extrabold tracking-wide text-text"
>
Feature Request Form
</h2>
<button
@@ -34,7 +41,7 @@
</button>
</div>
<div class="modal-body">
<div id="featureRequestModalDescription" class="modal-body">
<div class="h-[80vh] w-full">
<iframe
src="./components/iframe_forms/iframe-request-form.html"