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 6:42PM


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