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

Bunch of fixes for IE and Edge #577

Merged
merged 6 commits into from
Nov 14, 2017
Merged

Bunch of fixes for IE and Edge #577

merged 6 commits into from
Nov 14, 2017

Conversation

WilcoFiers
Copy link
Contributor

This fixed all but one issue with IE and Edge. The one issue still open is a color-contrast one, for some reason overlap wasn't getting caught in IE, if the element existed below the fold.

@CLAassistant
Copy link

CLAassistant commented Oct 19, 2017

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ WilcoFiers
❌ Wilco Fiers


Wilco Fiers seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Contributor

@marcysutton marcysutton left a comment

Choose a reason for hiding this comment

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

I'll test out the last case today on my Windows machine.


var text = commons.text = {};
// These defaults are only available in IE and Edge
const input = document.createElement('input');
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we remove the input after commons.text is done with it to clear up memory?

// IE inserts this for us, thanks!
assert.equal(axe.commons.text.accessibleTextVirtual(target), target.value || 'Submit');
assert.equal(axe.commons.text.accessibleTextVirtual(target), target.actualNode.value || 'Submit');
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm surprised that worked elsewhere without actualNode

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's undefined, so the || ensures it's always Submit.

@WilcoFiers WilcoFiers merged commit 63e1272 into develop Nov 14, 2017
@dylanb dylanb deleted the ie-fixes branch March 8, 2018 19:00
mrtnvh pushed a commit to mrtnvh/axe-core that referenced this pull request Nov 24, 2023
…ples/shadow-dom (dequelabs#577)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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