diff --git a/src/yieldplotlib/accessibility.py b/src/yieldplotlib/accessibility.py index 6d580e0b..dc64e2cd 100644 --- a/src/yieldplotlib/accessibility.py +++ b/src/yieldplotlib/accessibility.py @@ -37,6 +37,8 @@ def run_checks(self): else: logger.warning(f"{len(self.warnings)} accessibility checks failed.") + return self.warnings + def check_colors(self): """Check if colors used are monotonic and span an acceptable lightness range.""" # Convert RGB colors into greyscale to check lightness.