-
Bug
-
Resolution: Fixed
-
Minor
-
4.3.7, 4.4.3, 4.5
As discussed thoroughly in MDL-72129 here, there are good arguments to continuing to view a tag such as
<i class="fas fa-camera-retro" aria-hidden="true"></i> |
as an accessibility error.
However, there are also arguments to NOT seeing this as a severe accessibility error. Semantic usage of the em tag over the i tag also expects there to be text within the tag itself, in order to be emphasised or made special, as seen in the W3org WCAG relevant docs. In the case of Font awesome standard usage, there is no text inside the i tag.
As using this HTML for FA is still common practise, for old and new content, and also recommended by Font Awesome itself, what we're proposing is this: if the i tag has the class value which contains the string "fa-" AND also contains the aria-hidden="true" attribute, then we can ignore it as an accessibility error for now.