aria-colcount attribute | ariaColcount property

Defines the total number of columns in a table, grid, or treegrid.

Syntax


<element aria-colcount="..." ... />

Property values

Type: integer

Remarks

Used in Roles
table

 

This attribute does not need to be set if all of the columns are present in the DOM. If not all of the columns are present in the DOM at any given time, setting this attribute will provide the total number of columns in the full table.

Set aria-colcount equal to -1 if the total number of columns is unknown and should be calculated by the browser.

 

 

Show: