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

Navigation: Fix IE a11y patch & clean up #25177

Merged
merged 1 commit into from Oct 22, 2019

Conversation

dreamofabear
Copy link

Mostly readability improvements, plus an important fix to make #19037 actually work.

}
tryFocus(internalElm);
}
}
Copy link
Author

Choose a reason for hiding this comment

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

AFAICT this was meant to handle hash navigation but it will never fire because the outer conditional specifically only passes on non-hash navigations.

@dreamofabear dreamofabear marked this pull request as ready for review October 21, 2019 22:50
@dreamofabear
Copy link
Author

/to @jridgewell

@dreamofabear dreamofabear changed the title Clean up navigation.js Navigation: Fix IE a11y patch & clean up Oct 22, 2019
@dreamofabear dreamofabear merged commit f949bb5 into ampproject:master Oct 22, 2019
@dreamofabear dreamofabear deleted the clean-navigation branch October 22, 2019 18:46
joshuarrrr pushed a commit to Parsely/amphtml that referenced this pull request Oct 22, 2019
micajuine-ho pushed a commit to micajuine-ho/amphtml that referenced this pull request Dec 27, 2019
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.

None yet

3 participants