Fixed file input screen reader confusion

This commit is contained in:
2026-02-13 11:57:23 +00:00
parent 3a28e78757
commit 1322d10b16

View File

@@ -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",