W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2004

Re: Browser Switch

From: Joe Leech <mailreader@josephleech.co.uk>
Date: Wed, 28 Jan 2004 09:23:42 +0000
Message-ID: <40177F9E.1070004@josephleech.co.uk>
To: w3c-wai-ig@w3.org

I don't think JavaScript is the correct way to do this as many users 
(including myself) have JavaScript turned off by default.  Using 
server-side scripting , such as PHP or ASP, does negate this issue. 
However many assistive technologies 'sit above' browsers such as 
Internet Explorer  so detecting if someone is using a specialized 
browser by JavaScript or any other detection method is not necessarily 
reliable.   So Jan just include a submit button seems to be the only 
real choice at this stage, unless anybody else has any ideas?

As for identifying those issues Samuel, correctly marked-up and designed 
pages mean they should not be an issue as all will be supported.

Regards,

Joe Leech


-- 

Usability      Accessibility      Web Design

t | 07905 33 4163

e | me@josephleech.co.uk

w| www.josephleech.co.uk




Samuel Rinnetmäki wrote:

>>Now there is one special place on the client's website where
>>they want to use a submit-on-change for a pulldown menue.
>>    
>>
>
>Tell them not to.
>
>  
>
>>Our idea is to integrate a browser switch on this page which
>>offers an autosend-on-change for "normal" browsers while
>>requiring a button-click on alternative browsers.
>>    
>>
>
>What are the "normal" and "alternative" browsers?
>
>Of course, you can use JavaScript to find out, whether
>JavaScript can be used to send the form.
>
><select onchange="if (this.form &amp;&amp; this.form.submit)
>this.form.submit();">
><option />
>...
></select>
><input type="Submit" />
>
>The form is submitted only, if onchange event handler and
>the submit property for the containing form element are
>supported by the browser. You could also do more damage by
>using the same "if" statement to hide the submit button
>from the browsers that support the required JavaScript
>functionality.
>
>  
>
>>Does anyone know how to identifiy alternative browsers or
>>plug-ins that should not be automatically redirected?
>>    
>>
>
>Does anyone know how to identify, whether
>- the user wants to use the keyboard to select the desired
>  option from the select list
>- the user has a non-optimally working mouse or mouse
>  replacement (e.g. in a laptop) and thus has difficulties
>  to select the correct option from the selectlist
>- the user's hands are shaking (e.g. due cold wheather
>  outside, old age etc.)
>
>IMHO, submit-on-change is the second most annoying and
>frustrating feature on web forms, #1 being clear buttons.
>And I have nothing against JavaScript or event handlers as
>such - I use ondblclick in radio button labels to submit
>forms!
>
>    Samuel
>
>
>
>  
>


-- 

Usability      Accessibility      Web Design

t | 07905 33 4163

e | me@josephleech.co.uk

w| www.josephleech.co.uk
Received on Wednesday, 28 January 2004 04:23:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:13:31 UTC