ARIA Table Role

From Level Access Web Labs
Jump to: navigation, search

ARIA 1.1 properties for tables

  • role="table"
  • role="columnheader"
  • role="row"
  • role="cell"
  • Not yet implemented rowspan, colspan, rowcount, rowindex, colcount, colindex.

City
State
Zip
Fairfax
VA
22030
Arvada
CO
80004

Table with aria-rowcount, aria-rowindex, aria-colcount, and aria-colindex set

16 rows and 5 supposed columns

Rows are at row 4 and 5

Columns are 2,3, and 4 set on cells first and then rows

City
State
Zip
Fairfax
VA
22030
Arvada
CO
80004

aria-colspan example

Country
 
Postal
City
State
Zip
Fairfax
VA
22030
Arvada
CO
80004

aria-rowspan and role=rowheader example

 
City
State
Zip
East
Fairfax
VA
22030
 
Manassas
VA
20110
West
Arvada
CO
80004

Assistive Technology Support

  • iOS 10.3.3 (and likely other versions) with VoiceOver supports announcement of table data as well as row and column numbers.
    • iOS announced correct rowindex, colindex, rowcount, and colcount, and number of visible rows and columns.
  • JAWS 18 (tested on Firefox) full supports all of the properties.
  • NVDA 2017.2 (tested with Firefox) role=cell and table supported. rowindex, colindex, rowcount, colcount, colspan, and rowspan are not supported.
  • NVDA 2017.3 (tested with Firefox) role=cell, table rowindex, colindex, rowcount, colcount support. ARIA colspan, and rowspan are not supported.
  • NVDA 2017.3 (Chrome) Not supported.