w3c/core-aam

Guidance sought on relation between aria-rowcount and NSAccessibility's accessibilityRowCount (ditto for columns)

Opened this issue · 0 comments

Should accessibilityRowCount return the number of rows reflected by aria-rowcount or the number of rows in the physical table / DOM?

In the case of Linux, the mapping table for aria-rowcount states:

Object Attribute: rowcount should contain the author-provided value.
Method: atk_table_get_n_rows() should return the actual number of rows.

This mapping allows Orca to provide alternative table navigation commands (e.g. navigate to the bottom of the column, which might be the cell in physical row 10 even though aria-rowcount has a value of 1000).

The same table says the AX API mapping is:

Property: AXARIARowCount: <value>

So it's possible to provide similar access to VoiceOver users, namely expose the end-user consumable value via the property and the physical-table value via accessibilityRowCount. Question is: What is VoiceOver expecting?

Whatever the answer is, having it explicitly stated in the mapping table, both for aria-rowcount and aria-colcount would be helpful. Thanks in advance!