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: Donald Evans
Date: Feb 1, 2012 8:03PM


is there any issue with using innerHTML?

On Wed, Feb 1, 2012 at 8:42 PM, Jared Smith < <EMAIL REMOVED> > wrote:

> This technique is extremely dated and its recommendations flawed.
> There's nothing wrong with using these techniques to write content to
> the page so long as the currently focused element is not modified or
> removed. These methods are not optimal for generating content, but I
> can think of no accessibility issues with using them. Unless I'm
> misunderstanding something, you can ignore it.
>
> Jared Smith
> WebAIM.org
>