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

Body element likely should not map to ARIA document role #117

Closed
joanmarie opened this issue Jan 29, 2018 · 4 comments
Closed

Body element likely should not map to ARIA document role #117

joanmarie opened this issue Jan 29, 2018 · 4 comments
Assignees

Comments

@joanmarie
Copy link
Contributor

The HTML AAM currently maps body to the ARIA document role. But some accessibility APIs expect different mappings. For instance, in macOS the accessible object corresponding to body has a role of AXWebArea but the ARIA document role is an AXGroup (with a subrole of AXDocument). Similarly, in ATK, the accessible object corresponding to body should[*] be exposed as ATK_ROLE_DOCUMENT_WEB, with ATK_ROLE_DOCUMENT_FRAME being used for the document role.

[*] Gecko currently fails to do this, but I plan to provide a patch to fix that. WebKitGtk does it correctly.

@jasonkiss
Copy link
Contributor

Thanks @joanmarie.

I've updated all mappings for body based on your summary and how the other browsers are currently mapping it. See 724677b.

Please reopen if something's not right.

@joanmarie
Copy link
Contributor Author

Everything other than UIA looks right to me. Since I know nothing about UIA other than what @boggydigital tells me, we should ask him. 😄

@jasonkiss
Copy link
Contributor

Control Type Pane is what Inspect.exe tells me, but I could be reading it wrong.

Reopening for @boggydigital to confirm and close or advise otherwise.

@boggydigital
Copy link
Contributor

Verified that UIA mapping is correct, closing the issue

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

3 participants