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

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 on the CC list for the bug.

Received on Thursday, 17 June 2010 16:17:19 UTC