- From: Charles McCathieNevile <charles@w3.org>
- Date: Sun, 14 Jan 2001 11:14:36 -0500 (EST)
- To: David Woolley <david@djwhome.demon.co.uk>
- cc: <w3c-wai-ig@w3.org>
Yes, there is legitimate use of validation on form submission. I am not sure what the use of activation triggering is on a link, but in the new DOM event model it is there - we hope that it will be reflected in XHTML 2.0 as it is in SVG and SMIL 2.0 (the first version of SMIL to have event triggering). And the practise of linking to "javascript:popup(something)" is what I mean by using script instead of a link. It is effectively a dead link in lots of cases. And it tries to do something that can be done in normal HTML. (I don't think it is often deliberate malice - the more usual reaction I get when I explain this to people who use it is 'Oh, I didn't know that...'. Either way, I agree that it is bad - probably number two on my top ten mistakes of Web Design) cheers Charles McCN On Sun, 14 Jan 2001, David Woolley wrote: > There are defined semantics for the A element (and there are for the submit That's at the core of many accessibility problems. People don't want to work within the defined semantics because they actually want to emulate another tool or put their corporate brand on things. > button as well). Using a javascript instead of this is a bad move. In the new There is a legitimate use of onsubmit for client side pre-validation. Whilst popups may not be a good idea, I would rather have sites that popup for A elements with an onclick or onactivate, than the current situation of using javascript:popup(). The number of dead links on sites is getting annoyingly high at the moment. -- Charles McCathieNevile mailto:charles@w3.org phone: +61 (0) 409 134 136 W3C Web Accessibility Initiative http://www.w3.org/WAI Location: I-cubed, 110 Victoria Street, Carlton VIC 3053, Australia until 6 January 2001 at: W3C INRIA, 2004 Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex, France
Received on Sunday, 14 January 2001 11:14:38 UTC