Added htmlAppendAttributes method and fixed accessibility with help link icons (title -> aria-label)

This commit is contained in:
2026-02-13 11:26:14 +00:00
parent 9edf74fc11
commit cd6a00051d
5 changed files with 41 additions and 2 deletions

View 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")
}