Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
joanmarie opened this issue Oct 30, 2024 · 0 comments
Assignees

Comments

@joanmarie
Copy link
Contributor

joanmarie commented Oct 30, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants