APD Toronto
asked on
Font Awesome and Screen Readers (WCAG)
Hi Experts,
Is there any way I can make Font Awesome accessible to Screen Readers, and WCAG Compliant?
For example, <i class=“fa fa-server”></i> is not “visible” to screen readers, as you cannot alt to an <i> tag.
The only way I can think of is to make a screen shot of the icon, then use it as <img>, but is there a better way?
Any help would be appreciated.
Is there any way I can make Font Awesome accessible to Screen Readers, and WCAG Compliant?
For example, <i class=“fa fa-server”></i> is not “visible” to screen readers, as you cannot alt to an <i> tag.
The only way I can think of is to make a screen shot of the icon, then use it as <img>, but is there a better way?
Any help would be appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You may need to check your current font-awesome css library is supporting the mentioned icon?
Here is the sample code
Open in new window
fa-server icons:Common Troubleshooting on the Web (Font-Awesome)
https://fontawesome.com/v5.15/how-to-use/on-the-web/other-topics/troubleshooting