W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > June 2010

[Bug 9872] trigger a conformance error when javascript is included in href attribute

From: <bugzilla@jessica.w3.org>
Date: Thu, 17 Jun 2010 16:17:14 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1OPHmE-0001rP-LM@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9872





--- Comment #2 from Lachlan Hunt <lachlan.hunt@lachy.id.au>  2010-06-17 16:17:13 ---
Javascript URIs have real use cases. Without being able to include them in
links, distributing bookmarklets to users would not be possible.

This is also not an accessibility issue either, but rather a universality
issue.  Browsers utilising assistive technology can still activate and execute
links with javacript: URIs without any problems.  The only browsers that are
inherently affected are those without javascript supported, but that is not an
accessibility specific issue.

There is also no inherent problem with the use of javascript URIs.  But rather
a problem with the way in which they are commonly used in ways that are more
appropriately handled with regular http links and event handlers or the target
attribute.  Making all javascript URIs a conformance error because of these
less than ideal uses is not the right approach to address the real problem,
which is with regards to their misuse, rather than any use at all.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 17 June 2010 16:17:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 17 June 2010 16:17:16 GMT