Skip to content

Conversation

@straker
Copy link
Contributor

@straker straker commented Jan 7, 2021

Closes issue: #2651

@straker straker requested a review from a team as a code owner January 7, 2021 21:31
WilcoFiers
WilcoFiers previously approved these changes Jan 8, 2021
function landmarkIsTopLevelEvaluate(node) {
var landmarks = getAriaRolesByType('landmark');
var parent = getComposedParent(node);
var nodeRole = node.getAttribute('role') || implicitRole(node);
Copy link
Contributor

Choose a reason for hiding this comment

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

If we're going to mess with this, why not use aria.getRole?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I wondered that myself but didn't know if there was a specific reason why we didn't before.

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

Successfully merging this pull request may close these issues.

3 participants