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

Commit 8e35d64

Browse files
author
Alice
committed
Update AccessibilityUtils.js
Non-bold font needs to be 18pt to be considered large. http://www.w3.org/TR/WCAG-TECHS/G18.html
1 parent 57f8a36 commit 8e35d64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/js/AccessibilityUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ axs.utils.isLargeFont = function(style) {
279279
matches = fontSize.match(/(\d+)pt/);
280280
if (matches) {
281281
var fontSizePt = parseInt(matches[1], 10);
282-
if (bold && fontSizePt >= 14 || fontSizePt >= 14)
282+
if (bold && fontSizePt >= 14 || fontSizePt >= 18)
283283
return true;
284284
return false;
285285
}

0 commit comments

Comments
 (0)