Skip to content

Function: cellA11y() ​

ts
function cellA11y(style, alts): object;

With imageAlts: a cell showing a described image is an image; the rest is decoration.

Parameters ​

ParameterType
styleCellStyle
altsreadonly string[] | undefined

Returns ​

object

aria-hidden? ​

ts
optional aria-hidden?: "true";

aria-label? ​

ts
optional aria-label?: string;

role? ​

ts
optional role?: "img";

Hat tiling and isohedral tilings after Craig S. Kaplan's hatviz and Tactile (BSD 3-Clause).