aria-colspan property

aria-colspan property defines the number of columns a cell spanned within a table, grid or a treegrid. Use host attribute equivalent if available. If both the host language equivalent and aria-colspan property are defined user agents have to pick the value expressed through the host language attribute and expose it to assistive technologies.

Content authors must set the value of aria-colspan greater than or equal to 1 and less than or equal to total number of columns of the table. The exact value should be the number of columns the cell is spanned.

Aria-colspan property used in roles

Values of aria-colspan property

The value of aria-colspan property should be an integer greater than or equal to 1 and less than or equal to total number of columns in the table, grid or treegrid. In other words the value should be equal to the total number of cells the author want to span.

Comments are closed.