| a11y_fluidRow | R Documentation |
A wrapper for shiny::fluidRow() with optional section landmarks, ARIA
attributes according to BITV 2.0, and custom CSS class. Ensures responsive
layout by validating that all columns are a11y_columns and their widths
sum to 12.
a11y_fluidRow(..., id = NULL, aria_label = NULL)
... |
Content to place into the row (columns, tags) |
id |
(optional) Row ID |
aria_label |
(optional) |
HTML <section> tag (row)
# A row with two columns (widths must sum to 12)
a11y_fluidRow(
a11y_column(6, htmltools::p("Left")),
a11y_column(6, htmltools::p("Right"))
)
# Labeled section row
a11y_fluidRow(
a11y_column(12, htmltools::p("Full width")),
aria_label = "Results section"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.