I'm using Semantic-UI framework and for the icons I have to use the i
tag. Here is an example:
<i class="icon search"></i>
I want to make my code compliant to WCAG 2.0 (level AA) and I'm using AChecker validator. For every line that contains i
tag I get the following error:
1.4 Distinguishable: Make it easier for users to see and hear content including separating foreground from background.
Success Criteria 1.4.4 Resize text (AA)
Check 117: i (italic) element used.
Repair: Replace your i elements with em or strong.
Since I can't replace it with em
or strong
because of the Semantic-UI components usage and because I'm not using i
for italic, do you know how can I fix it or any work-around to get no errors by checker?