Link contain no text showing error in Wave accessibility evaluation tool
问题 I have an HTML page in which there is <a href="example.com"><i class="myclass"></i></a> <a href="http://www.google.com" class="cart visible-xs"><i class="t-icon t-icon-cart-xs-2"></i></a> but from wave accessibility tool it's showing an error that the anchor tag contains no text, although I am using <i> tag inside the <a> tag, but I cannot write anything inside anchor tag. 回答1: According to the WAVE tool the two <a> elements you provided both contain Empty Links which violate WCAG 2.0