ARIA States & Properties
aria-colindextext
Adds a textual representation of a column index when a number alone is not meaningful, for example a spreadsheet column label. Supply the numeric aria-colindex as well; do not replace it with letters. Value type: string. Accepted values: human-readable column position. Default or omitted behavior: none. Applicable context: cell, gridcell, headers; check implementation support. Use only where allowed for the element’s implicit or explicit role. ARIA describes accessibility semantics; it does not automatically implement the associated behavior. Test with the relevant browser and assistive technology.
Formal Syntax & Structure
html syntaxhtml
aria-colindextext="AB"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| aria-colindextext | string | Accepted values: human-readable column position. Default or omitted behavior: none. Context: cell, gridcell, headers; check implementation support. Requiredness depends on the role. |
Working Example
Example Snippethtml
<div role="table" aria-label="Sheet" aria-colcount="28"> <div role="row"> <span role="cell" aria-colindex="28" aria-colindextext="AB">Total</span> </div></div>