From fad74c128289fd45d83242294bcdbe7b6d5cb737 Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Wed, 15 Oct 2025 13:45:51 -0500 Subject: [PATCH] Add screen reader labels for card ID --- app/views/cards/display/_public_preview.html.erb | 5 ++++- app/views/cards/display/common/_collection.html.erb | 5 ++++- app/views/events/event/_layout.html.erb | 5 ++++- app/views/notifications/notification/event/_header.html.erb | 5 ++++- .../notifications/notification/mention/_header.html.erb | 5 ++++- 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/app/views/cards/display/_public_preview.html.erb b/app/views/cards/display/_public_preview.html.erb index 644cb49d4..5494815e0 100644 --- a/app/views/cards/display/_public_preview.html.erb +++ b/app/views/cards/display/_public_preview.html.erb @@ -3,7 +3,10 @@
- <%= card.id %> + + Card number + <%= card.id %> + <%= card.collection.name %> diff --git a/app/views/cards/display/common/_collection.html.erb b/app/views/cards/display/common/_collection.html.erb index 9a69481c9..ef1fe3a5e 100644 --- a/app/views/cards/display/common/_collection.html.erb +++ b/app/views/cards/display/common/_collection.html.erb @@ -1,5 +1,8 @@