Added htmlAppendAttributes method and fixed accessibility with help link icons (title -> aria-label)
This commit is contained in:
23
man/htmlAppendAttributes.Rd
Normal file
23
man/htmlAppendAttributes.Rd
Normal file
@@ -0,0 +1,23 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/htmlAppendAttributes.R
|
||||
\name{htmlAppendAttributes}
|
||||
\alias{htmlAppendAttributes}
|
||||
\title{Appends attributes to an HTML element}
|
||||
\usage{
|
||||
htmlAppendAttributes(el, ...)
|
||||
}
|
||||
\arguments{
|
||||
\item{el}{The element to append the attributes to}
|
||||
|
||||
\item{...}{The attribute names to be appended}
|
||||
}
|
||||
\value{
|
||||
The modified element
|
||||
}
|
||||
\description{
|
||||
Appends attributes to an HTML element
|
||||
}
|
||||
\examples{
|
||||
x <- shiny::icon("wrench")
|
||||
htmlAppendAttributes(x, `role` = "presentation")
|
||||
}
|
||||
Reference in New Issue
Block a user