E-mail List Archives
Re: Using SVG to display text
From:
- Next message: Patrick H. Lauke: "Re: Using SVG to display text"
- Previous message: Steve Green: "Re: Using SVG to display text"
- Next message in Thread: Patrick H. Lauke: "Re: Using SVG to display text"
- Previous message in Thread: Steve Green: "Re: Using SVG to display text"
- View all messages in this Thread
On 08/06/2019 07:02, Steve Green wrote:
> I am working on a truly horrible e-learning application in which all the text has been implemented using SVG <text> elements. With respect to WCAG success criterion 1.4.5 (Images of Text), would you consider such content to be text or an image of text?
>
> To me, it seems to be in between. The <text> element supports some CSS styles (such as font size), but does not support others (such as line-height), so it cannot be visually customized to the user's requirements.
>
> I would like to say this violates 1.4.5, but I would welcome other opinions.
I don't think this fails the letter of 1.4.5. The browser considers the
content of a <text> element as text, it's exposed in the accessibility
API as text, and it fits the normative description of text in WCAG:
"sequence of characters that can be programmatically determined, where
the sequence is expressing something in human language"
It may fail the spirit of 1.4.5 if the <text> element isn't styled using
CSS though, and cannot therefore be visually customised for font, size,
colour and background (as the SC requires). The inability to adjust line
height would likely be a fail of 1.4.12 rather than 1.4.5 though.
LĂ©onie.
>
> Regards,
> Steve Green
> Managing Director
> Test Partners Ltd
> 020 3002 4176 (direct)
> 0800 612 2780 (switchboard)
> 07957 246 276 (mobile)
> 020 7692 5517 (fax)
> Skype: testpartners
> <EMAIL REMOVED>
> www.testpartners.co.uk
>
> Connect to me on LinkedIn - http://uk.linkedin.com/in/stevegreen2
>
> > > > >
--
@TetraLogical TetraLogical.com
- Next message: Patrick H. Lauke: "Re: Using SVG to display text"
- Previous message: Steve Green: "Re: Using SVG to display text"
- Next message in Thread: Patrick H. Lauke: "Re: Using SVG to display text"
- Previous message in Thread: Steve Green: "Re: Using SVG to display text"
- View all messages in this Thread