Favorites

HTML aria-rowindextext ARIA Attribute

This is part of the WAI-ARIA 1.3 draft. Support in browsers and screen readers is still incomplete, so test it with the assistive technology your users rely on.

aria-rowindextext
ARIA AttributeThis ARIA attribute is supported by most modern browsers, though support in some browsers is unknown.
Updated 28th November 2026

The aria-rowindextext attribute gives a readable label for a row's position, such as a date or a custom number, instead of a plain numeric index.

☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee

Description

The aria-rowindextext attribute provides a human-readable text alternative for aria-rowindex. When a table labels its rows with something other than 1, 2, 3, such as the days of a calendar or chapter numbers that skip, screen readers can announce this text instead of the numeric position.

Use it together with aria-rowindex, which is still used for navigation. Only add it when the plain number would be confusing.

Properties

Type
Widget
Value
string
Default
None
Used with
cell, columnheader, gridcell, row, rowheader

Syntax

<element role="row" aria-rowindex="3" aria-rowindextext="Wednesday">

Values

  • textThe row label to announce.

Example

<div role="grid" aria-label="Timetable">
<div role="row" aria-rowindex="2" aria-rowindextext="Monday"><span role="gridcell">Maths</span></div>
<div role="row" aria-rowindex="3" aria-rowindextext="Tuesday"><span role="gridcell">Art</span></div>
</div>

Browser Support

The following information will show you the current browser support for the aria-rowindextext ARIA attribute. Hover over a browser icon to see the version that first introduced support for this ARIA attribute.

This ARIA attribute is supported by most modern browsers, though support in some browsers is unknown.

Desktop

Chrome
Edge
Firefox
Opera
Safari

Tablets & Mobile

Chrome Android
Firefox Android
Opera Android
Safari iOS
Samsung Internet
Android WebView
-
Supported Unknown Not supported
☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee