Skip to content

Conversation

@calebeby
Copy link
Member

I could not find this in the spec, but it is consistent in Chrome's devtools accessibility inspector, Firefox's, and also in VO in safari:

The HTML root element gets the role of document (this is in the spec)
That element gets an implicit name corresponding to document.title (I could not find this in the spec).

Here is where I looked:

Copy link
Member

@spaceninja spaceninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@calebeby calebeby merged commit 1eaa648 into main Mar 31, 2022
@calebeby calebeby deleted the getAccessibilityTree-document-title branch March 31, 2022 20:46
@github-actions github-actions bot mentioned this pull request Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document.title should be used to compute name of root html element in getAccessibilityTree

3 participants