WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Is any use of document.write a violation of WCAG 2.0 1.3.1 (or only if it is used to dynamically create new content after the page has loaded)?

for

From: Jared Smith
Date: Feb 1, 2012 9:27PM


On Wed, Feb 1, 2012 at 8:04 PM, Donald Evans < <EMAIL REMOVED> > wrote:
> is there any issue with using innerHTML?

There are no accessibility issues with innerHTML that I am aware of.
So long as you are not updating the currently focused element, you are
simply manipulating the DOM and modern screen readers should pick up
the updates.

Jared