Hello,
I tried to assess web accessibility of the following small application using the tool WAVE and I get an error related to selectinput (no label for a form control)
Here is the code:
x=c("Cylinders" = "cyl","Transmission" = "am","Gears" = "gear")
shinyApp(
ui = fluidPage(
selectInput("variable", "Variable:",x),
tableOutput("data")
),
server = function(input, output) {
output$data <- renderTable({
mtcars[, c("mpg", input$variable), drop = FALSE]
}, rownames = TRUE)
}
)
Here is the wave ouput:
Could you help me solve the labeling issue?
Thanks,
FE