add screen reader mode

This commit is contained in:
Pete Matsyburka committed 2026-04-19 20:18:52 +03:00
1 parent ee65a5693c
commit 7cdf263da1
23 files changed
+834 -59

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
<% uuid = local_assigns[:uuid] || SecureRandom.uuid %>
<% title_id = "#{uuid}-title" %>
<%= tag.dialog id: uuid, class: "modal items-start overflow-y-auto", inert: true, "aria-labelledby": (title_id if local_assigns[:title]) do %>
<%= tag.dialog id: uuid, class: 'modal items-start overflow-y-auto', inert: true, 'aria-labelledby': (title_id if local_assigns[:title]) do %>
<div class="modal-box pt-4 pb-6 px-6 mt-20 max-h-none">
<% if local_assigns[:title] %>
<div class="flex justify-between items-center border-b pb-2 mb-2 font-medium">