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): mark as needs review for text that contains only non-BMP characters #2005

Merged
merged 2 commits into from Jan 31, 2020

Conversation

straker
Copy link
Contributor

@straker straker commented Jan 30, 2020

The test for non-BMP characters was actually broken as it was returning undefined because of short text content and not because of the non-BMP characters. Also fixed the non-BMP regex to globally ignore characters.

Closes issue: #1993

Reviewer checks

Required fields, to be filled out by PR reviewer(s)

  • Follows the commit message policy, appropriate for next version
  • Code is reviewed for security

@straker straker requested a review from a team as a code owner January 30, 2020 15:57
Copy link
Contributor

@WilcoFiers WilcoFiers left a comment

Choose a reason for hiding this comment

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

editorial

lib/checks/color/color-contrast.json Outdated Show resolved Hide resolved
Co-Authored-By: Wilco Fiers <WilcoFiers@users.noreply.github.com>
@straker straker merged commit e559be0 into develop Jan 31, 2020
@straker straker deleted the unicodeBMP branch January 31, 2020 16:51
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.

None yet

2 participants