Jeff said:
Richard Cornford wrote:
Oh you know, Bobby, Tidy et al.
I am familiar with mechanical accessibility testing, and its
limitations. But the existence of such software doesn't mean that the
WAI is 'invalidating' web sites.
Until they do 'get rid of it' the specification remains.
The WAI has produced no specifications. They produce guidelines, that
require intelligent interpretation, which is why automated accessibility
testing is as likely to do more harm than good if used as the only
criteria for accessibility.
People like me, who do not have direct access to the
people within the consortium,
It is still a working group, and you can offer them your opinions if you
feel like it.
must rely on what is published.
You might then try actually reading what they publish. WCAG 1.0 only
features one occurrence of the string 'NOSCIRPT' and it appears in an
example not in one of the actual checkpoints. It is an example for
checkpoint 6.3, which reads:-
| 6.3 Ensure that pages are usable when scripts, applets, or other
| programmatic objects are turned off or not supported. If this is
| not possible, provide equivalent information on an alternative
| accessible page. [Priority 1]
And the propose use of NOSCRIPT elements in the example is not only a
manifestation of a limited grasp of scripting on the part of the author
of the example, it also fails to satisfy the guideline as, as I have
repeatedly explained, it does not account for the condition where
scripting is available but the script itself is "not supported" by the
browser's environment.
A poor example, that fails to satisfy its associated checkpoint, is not
a justification for any particular action, regardless of how many
examples of automated accessibility software are authored by individuals
who also don't understand scripting well enough to see how it should be
written to satisfy the guidelines.
Please note the title of the thread.
It is a subject not a title.
If scripting is enabled then the browser will try to
execute the script - right.
If it has an interpreter for the specified script type, otherwise, as
Matt Kruse pointed out, it won't be able to comprehend the source code.
Whether or not it can is another story and it is up to
the programmer to catch this 'problem' - yes.
Yes it is up to the programmer (or, more reasonably, the script designer
as it is a design issue not an implementation issue) to take account of
the possibility that a browser may support scripting but not provide the
environment that the script needs. The point of my comments is that once
the programmes has designed for that possibility (the possibility that
the script will not be able to act at all) they have already done
everything that they need to do in order to accommodate browsers where
scripting is unavailable.
If scripting is disabled then the browser will ignore any script
tags and jump to the noscript tag, if one is included.
Explain "jump to", that doesn't sound like an HTML thing at all.
But that is up to the programmer to ensure that the script will
execute, or degrade gracefully, IF SCRIPTING IS ENABLED.
When a script degrades gracefully in the face of its inability to act it
will have done everything that would need to be done when scripting is
unavailable. That is what clean degradation is.
If scripting is disabled then the code will not be executed
no matter how well crafted it is.
But it won't be any more 'not executed' when scripting is unavailable as
it would be 'not executed' in an environment that does not facilitate
its execution.
By using the noscript tag you can inform the
user of loss of functionality on the page.
And by not using the NOSCRIPT _element_ you can inform the user of the
loss of functionality, except that without the NOSCRIPT element you can
inform them of the loss of functionality whenever they don't have that
functionality, instead of just when they don't have client-side
scripting available.
Not that there is much to be gained by bothering the user with that type
of technical detail.
Hey you can even use
<noscript></noscript>.
What possible good does that do anyone?
Hence the use of both. Scripts still fail to execute on a script
incapable browser in exactly the same way as they fail to execute on a
script disabled browser.
Oh I see, 20+ lines of cross browser compatible code to do what a
<noscript><a href...</noscript> section can do - right.
The original example included most of that code in order to include the
'data' in the first place, the only difference would be the code that
removed the original content, which would not necessarily be more than a
couple of lines.
And no it doesn't do what NOSCRIPT elements would do, it does more. it
covers both the possibility that scripting is unavailable and the
possibility that the browser environment does not support the features
required by the script. It reduces the possible outcomes form three back
down to two, mutually exclusive, possibilities. Thus it completely
addresses the reality of browser scripting and does not leave users
falling through the cracks in the way that NOSCRIPT elements do.
BTW it is script not scirpt. The fact that this appears
multiple times shows that it is not a typo (which I
normally do not comment on).
Obviously you don't touch-type, else you would recognise that
transposing characters typed with alternate hands is probably the most
common typo.
Obviously you have not heard of, or used, DHTML.
<snip>
I beg your pardon?
But what is this comment supposed to be about? Are you suggesting that
it is possible to write DHTML that will successfully execute on all
(script capable) browsers? If so feel free to demonstrate.
Richard.