Pa11y seems to not be including bold text below 18px but 14px or higher in its definition of large text that has the lower contrast ratio requirement per WCAG2.X
I have tried specifying font-weight: bold and font-size: 16px (as opposed to font-weight: 700 and font-size: 1rem to no avail.
Pa11y seems to not be including bold text below 18px but 14px or higher in its definition of large text that has the lower contrast ratio requirement per WCAG2.X
I have tried specifying
font-weight: bold
andfont-size: 16px
(as opposed tofont-weight: 700
andfont-size: 1rem
to no avail.See situation B here: https://www.w3.org/WAI/WCAG21/quickref/#contrast-minimum