From 1322d10b169ddbfcad6a51c7e167f7482a6af228 Mon Sep 17 00:00:00 2001 From: Craig Williams Date: Fri, 13 Feb 2026 11:57:23 +0000 Subject: [PATCH] Fixed file input screen reader confusion --- R/a11yFileInput.R | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/R/a11yFileInput.R b/R/a11yFileInput.R index 80c1ba2..7a17d2d 100644 --- a/R/a11yFileInput.R +++ b/R/a11yFileInput.R @@ -51,11 +51,12 @@ a11yFileInput <- function( ), htmltools::tags$div( class = "input-group", - htmltools::tags$label( + htmltools::tags$div( class = "input-group-btn input-group-prepend", htmltools::tags$span( - class = "btn btn-default btn-file", buttonLabel, inputTag - ) + class = "btn btn-default btn-file", buttonLabel + ), + inputTag ), htmltools::tags$input( type = "text",