|
Posted by william.clarke on 10/08/78 11:57
Nick D wrote:
> All of the examples in this thread are depreciated. None of them will
> degrade gracefully. You should ALWAYS use the (<a
> href="action_page.html">Link</a>) Then attach an onload javascript
> function that will run through all link tags and add the proper onclick
> event and removing the traditional "href" properties. This way your
> script will ALWAYS work even if javascript is disabled.
>
> Reference: http://www.w3.org/TR/WCAG10-HTML-TECHS/
Funny, not one of the examples in the Links section of that document
showed anything that resembled the issue that is being discussed here.
(ie. no examples of how the accessibility standard can be applied to
<a> javascript.)
>Then attach an onload javascript function that will run through all link tags and add the >proper onclick event and removing the traditional "href" properties.
>This way your script will ALWAYS work even if javascript is disabled.
How can that be true? If Javascript is disabled then Javascript is
disabled, just adding "onload" Javascript won't get around that. Maybe
I'm missing something there, but I always thought that if Javascript is
disabled, then no Javascript at all would run. Can someone clarify this?
Navigation:
[Reply to this message]
|