News for hackers. Stuff that matters.
Re:Show HN: My animated website, rendered entirely in HTML5 ... by extra88 on Sunday March 15, 2015 @02:34PM (#9207477)
If that's text, why do some of the letter shapes have jaggies? Screenreaders use the accessibility tree, a subset of the DOM; this "text" isn't in the DOM, it's not real text. Do you think screenreaders perform OCR on pages? JAWS has added an OCR function but it's only for trying to read a single element containing a picture including text (i.e. images) without a real text alternative (e.g. alt attribute).
Re:Show HN: My animated website, rendered entirely in HTML5 ... by nailer on Sunday March 15, 2015 @03:25PM (#9207704)
> If that's text, why do some of the letter shapes have jaggies?

Probably because the site author isn't taking the window.devicePixelRatio and backingStoreRatio when creating the 2D context.

> this "text" isn't in the DOM, it's not real text

The text is not in the DOM, but that doesn't mean it is not real text. It is text, literally strings, written with `context.fillText()` which could certainly be wrapped by screenreader software.

Doing so would make the world a better place for the bling by providing a more consistent experience - since 100% of people using canvas will never get extra budget to modify their logic, but 100% of canvas fillText() calls could be handled by a screen reader.

Unfortunately a great deal of engineers seem to have invested time and reputation in the unlikely change-the-world scenario, so I suspect blind people will continue to have a poor experience on the internet while a11y engineers who don't actually care for workable solutions continue to dominate the discussion.