Use text instead of images of text if the technology being used can achieve the desired visual presentation, unless the particular presentation (like a logo) is an essential part of the information conveyed, or some mechanism is provided to allow the user to customize the text images
1.4.5 Images of Text: If the technologies being used can achieve the visual presentation, text is used to convey information rather than images of text except for the following: (Level AA)
- Customizable: The image of text can be visually customized to the user's requirements;
- Essential: A particular presentation of text is essential to the information being conveyed.
Note: Logotypes (text that is part of a logo or brand name) are considered essential.
How to fix:
- If the particular visual effect you're looking for (color, size, font) etc. can be accomplished via styled text rather than an image, replace the image with styled text.
- Provide a server side mechanism enabling the user to create new, customized version of the image text that meet their requirements.