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

Updated - Color warning placement fix #1

Open
wants to merge 79 commits into
base: main
Choose a base branch
from

Conversation

AkimFA
Copy link

@AkimFA AkimFA commented Jan 24, 2025

Added a new function to find indexes of all elements found.
Added a new variable to pass in the checkContrast function (index)

marcojalenyu and others added 30 commits August 19, 2024 10:54
Update text replacement
Update text replacement
marcojalenyu and others added 29 commits September 9, 2024 15:44
Added a new function to find indexes of all elements found.
Added a new variable to pass in the checkContrast function (index)
Iterates through parent elements to get the background color rather than just using the background by default
made it include to check for the ">" also
To pass certain issues such as having the text be element types (i.e. div, p, etc)
Refactored the getIndexes function to make use of regex to read line breaks allowing

Added a isThereNoText function to skip checking contrast issues if there is no text
made the callers that call this go straight to getContrastRatio
value being passed to the function was already converted to hex so no need to check other types
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