Skip to content
This repository was archived by the owner on Dec 7, 2022. It is now read-only.

Commit a1b6fe9

Browse files
author
Alice Boxhall
committed
Remove extraneous extra argument to isLowContrast() in LowContrastElements.js
1 parent fa4f321 commit a1b6fe9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/audits/LowContrast.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ axs.AuditRule.specs.lowContrastElements = {
3333
var style = window.getComputedStyle(element, null);
3434
var contrastRatio =
3535
axs.utils.getContrastRatioForElementWithComputedStyle(style, element);
36-
return (contrastRatio && axs.utils.isLowContrast(contrastRatio, style, false));
36+
return (contrastRatio && axs.utils.isLowContrast(contrastRatio, style));
3737
},
3838
code: 'AX_COLOR_01'
3939
};

0 commit comments

Comments
 (0)