What fresh hell is THIS now? - Patrick Lauke
<div id="img_1j8ipv7_hotspot_1" class="hotSpot" data-content="#tile_tpfjvf"> <i class="fa fa-flag"></i> <div class="hotSpot__toolTip hotSpot__toolTip--left" style="top: -132px; left: -210px; display: none; opacity: 1;"> <div id="tile_tpfjvf" style="max-width: 300px; margin: 0 auto;"> <div class="product-tile" id="bcczMiaaitl5caaadin5Vb9a0j" data-itemid="1589321"> <div class="product-image"></div> <div class="product-caption"></div> </div><!-- END: .product-tile --> </div> </div> </div>
aria-label
and aria-hidden
will sort-of cancel each other out.
<a href="path/to/shopping/cart" aria-label="View 3 items in your shopping cart"> <i class="fa fa-shopping-cart" aria-hidden="true" title="Open shopping cart"></i> </a>
aria-label
only works reliably on interactive elements, so a DIV wouldn't work.
aria-label
will expose text on the link to assistive technology users, and aria-hidden
will prevent the title
from being read too...since that's only for mouse users.
aria-hidden
will also prevent any font glyphs from being read aloud (or at least attempted), since those are generally for visual presentation only.