Function: cellA11y()
ts
function cellA11y(style, alts): object;With imageAlts: a cell showing a described image is an image; the rest is decoration.
Parameters
| Parameter | Type |
|---|---|
style | CellStyle |
alts | readonly string[] | undefined |
Returns
object
aria-hidden?
ts
optional aria-hidden?: "true";aria-label?
ts
optional aria-label?: string;role?
ts
optional role?: "img";