W3C home > Mailing lists > Public > public-comments-wcag20@w3.org > May 2011

innerHTMLnow part of DOM spec (HTML5) and widely used - allow?

From: <noreply@w3.org>
Date: Mon, 09 May 2011 11:26:47 +0000
To: public-comments-wcag20@w3.org
Message-Id: <E1QJObv-0005KL-KQ@lowblow.w3.org>

Name: Detlev Fischer
Email: fischer@dias.de
Affiliation: DIAS GmbH
Document: TD
Item Number: SCR21
Part of Item: Description
Comment Type: technical
Summary of Issue: innerHTMLnow part of DOM spec (HTML5) and widely used - allow?
Comment (Including rationale for any proposed change):
The description of SCR21 has it that "the innerHTML property is not part of the DOM specification and thus should be avoided". 
innerHTML is part of the (emerging) HTML5 spec
(http://www.w3.org/TR/html5/apis-in-html-documents.html#innerhtml) and also used widely in JS-Frameworks. 

Proposed Change:
Check whether the use of innerHTML creates any accessibility problems. If not, the description and test procedure should be updated to allow innerHTML.
Received on Monday, 9 May 2011 11:26:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:11:13 UTC