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

fix(color-contrast): correctly determine color contrast for element that exactly overlaps midpoint of node #3565

Merged
merged 16 commits into from
Aug 17, 2022

Conversation

straker
Copy link
Contributor

@straker straker commented Jul 26, 2022

In https://github.com/dequelabs/axe-core/pull/2003/files we changed the algorithm from < to <= to handle nodes returning as incomplete in the code highlighting. The tests added for test/integration/full/contrast/code-highlighting.html assert that only 1 incomplete is returned, so this change does not affect the reason we moved from < to <= in the first place.

Closes issue: #3563

…element that exactly overlaps midpoint of node
@straker straker requested a review from a team as a code owner July 26, 2022 17:17
@straker straker changed the title fix(color-contrast): correctly determine color contrast for floating element that exactly overlaps midpoint of node fix(color-contrast): correctly determine color contrast for element that exactly overlaps midpoint of node Aug 1, 2022
lib/commons/dom/get-rect-stack.js Outdated Show resolved Hide resolved
test/checks/color/color-contrast.js Outdated Show resolved Hide resolved
test/checks/color/color-contrast.js Outdated Show resolved Hide resolved
test/checks/color/color-contrast.js Outdated Show resolved Hide resolved
lib/commons/dom/get-rect-stack.js Outdated Show resolved Hide resolved
@straker straker dismissed a stale review via bca14b1 August 9, 2022 17:10
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.

2 participants