Element lacks semantic markup
-
Hey,
I am trying to make my website accessibility compliant, and one of the issues has to do with semantics for this plugin. Could this change be possibly included in one of the future updates?
Description of issue
Words or phrases intended to carry semantic weight or emphasis should be marked up with or (emphasis) elements, not with <b> (bold) or <i> (italics). When semantically special treatment is intended, the semantic elements will both change the visual appearance and the intonation of the words when spoken by a screen reader. The <b> and <i> elements will change only the visual appearance, not the spoken intonation.Recommended Action
Change <b> to or <i> to if the affected text is intended to carry semantic weight or emphasis.Affected Code
<i class=”wpmenucart-icon-shopping-cart-0″ role=”img” aria-label=”Cart”></i>`
- The topic ‘Element lacks semantic markup’ is closed to new replies.