aria-colindex attribute | ariaColindex property

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Defines an element's position (column index) with respect to the total number of columns in a table, grid, or treegrid.

Syntax


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

Property values

Type: integer

Remarks

Used in Roles
cell
row

 

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 provides the position with respect to the full table.

The value for aria-colindex should be

  • Greater than or equal to 1
  • Greater than the aria-colindex value of any previous elements in the same row
  • Less than or equal to the number of columns in the full table

 

 

Show: