I am very happy to hear see the issues with icon fonts being discussed. There are so many issues with them that hopefully developers learn to stop using this practice.
Thank you for bringing up the title or aria-label approach.
One thing that I would suggest that’s not in the article is for developers to avoid using the CSS background attribute and to instead look into using CSS generated content to display icons. Background images are not displayed to users that are in Windows High Contrast mode, but CSS generated content are treated like content images and are thus displayed to the user.
I am very happy to hear see the issues with icon fonts being discussed. There are so many issues with them that hopefully developers learn to stop using this practice.
Thank you for bringing up the title or aria-label approach.
One thing that I would suggest that’s not in the article is for developers to avoid using the CSS background attribute and to instead look into using CSS generated content to display icons. Background images are not displayed to users that are in Windows High Contrast mode, but CSS generated content are treated like content images and are thus displayed to the user.