From 25a2519dd8973c4131966fb536fe447c35449753 Mon Sep 17 00:00:00 2001 From: Marcelo Paiva Date: Thu, 26 Feb 2026 08:28:46 -0500 Subject: [PATCH] Fix Upload button missing from Tab order The label element used as the upload trigger had no tabindex, making it unreachable by keyboard. Add tabindex="0" and role="button" so it is included in Tab order and correctly announced by screen readers. Co-Authored-By: Claude Sonnet 4.6 --- app/views/templates/_upload_button.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/templates/_upload_button.html.erb b/app/views/templates/_upload_button.html.erb index 4b7156aa..2e1d128c 100644 --- a/app/views/templates/_upload_button.html.erb +++ b/app/views/templates/_upload_button.html.erb @@ -1,5 +1,5 @@ <%= form_for '', url: templates_upload_path, id: form_id = SecureRandom.uuid, method: :post, class: 'inline', html: { enctype: 'multipart/form-data' } do %> -