On 27/09/2010 22:32, easydoor wrote:
> One of the criterias to render a webapp accessible on scripts is the 
> following :
>
> Each script must have an alternative if necessary.

How do you determine when it's necessary or not? In this case the link uses JS 
to focus the error
field. If JS is disabled the form is still fully functional, the errors are 
displayed and accurately
describes the field in question.

> Concerning the error message, the Javascript redirect which focuses on the 
> field 
> concerned by the error message should have an alternative in Server Scripting 
> to 
> allow enduser which has desactivated Javascript in the navigator to have this 
> function.

If JS is disabled how will you set focus on the field? Focus depends on JS. 
Making a round trip to
the server won't change focus.

Bob

PS: HTML5 has a solution via the autofocus property which Click will leverage 
in a future release.

Reply via email to