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

Improve color contrast handling #100

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

ravewebdev
Copy link
Contributor

@ravewebdev ravewebdev commented Sep 10, 2020

Closes #99

Description

Updates Slide block to only render Settings panel if block selected.
Adds hook, useMediaAverageColor, to determine average color of media element.
Updates fontColor contrast check to include background overlay and average media color.

Screenshot

screenshot

Steps to verify the solution

How will a stakeholder test this? Please list the steps.

Other

  • Is this issue accessible? (Section 508/WCAG 2.1AA)
  • Does this pass CrossBrowserTesting.com? (Edge, Safari, Chrome, Firefox)
  • Will this pull request require updating the wiki?

@ravewebdev ravewebdev self-assigned this Sep 10, 2020
@ravewebdev ravewebdev added this to the 2.1.0 milestone Sep 10, 2020
@ravewebdev ravewebdev force-pushed the enhancement/99-improve-color-contrast-handling branch from ca0a0bc to 0a176ad Compare September 11, 2020 19:03
@ravewebdev ravewebdev force-pushed the enhancement/99-improve-color-contrast-handling branch from 0a176ad to 8be22ed Compare September 11, 2020 20:29
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.

Improve color contrast handling
1 participant