Files
AVSDevR.HTMLUtils/man/htmlFixBoxCollapseButtonAria.Rd
Craig Williams 6d3843a92b Package with an initial set of functions added
NOTE: Not all tests have been written yet!
2026-01-22 15:59:54 +00:00

25 lines
648 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/htmlBoxManipulation.R
\name{htmlFixBoxCollapseButtonAria}
\alias{htmlFixBoxCollapseButtonAria}
\title{Adds "aria-label" attribute to the box collapse/expand button}
\usage{
htmlFixBoxCollapseButtonAria(box, context = NULL)
}
\arguments{
\item{box}{The box to set the attributes on}
\item{context}{The context for the aria label. Defaults to the box title if
not set}
}
\value{
The modified box
}
\description{
Adds "aria-label" attribute to the box collapse/expand button
}
\examples{
x <- shinydashboard::box(title = "This is a box")
htmlFixBoxCollapseButtonAria(x)
}