Welcome to WebmasterWorld Guest from 54.167.40.25

Forum Moderators: ergophobe

Message Too Old, No Replies

NOSCRIPT for SCRIPT called in HEAD

accessibility alternatives to script

     
6:15 pm on Mar 2, 2007 (gmt 0)

Junior Member

5+ Year Member

joined:Feb 14, 2007
posts:92
votes: 0


Hello

Trying to improve the accessibility of a website I'm working on, at the moment WebXACT is flagging up issues wherever I call javascripts.

None of the script is essential to the operation of the site but I still want to understand how to combat this!

I have 3 scripts called in my head and I know that I can't use the noscript tag here so what would be the best way to sort this out?

6:27 pm on Mar 2, 2007 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member pageoneresults is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 27, 2001
posts:12166
votes: 51


I think this might help...

18.3.2 Hiding script data from user agents
[w3.org...]

P.S. I don't recall ever seeing the use of a <noscript> element within the <head></head>. I don't think you can do that. ;)

6:36 pm on Mar 2, 2007 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 31, 2003
posts:9063
votes: 2


The accessibility validator tools will show warnings for such scripts, but only you can judge the pertinence of those warnings. If as you say the scripts aren't required, and the site works without them, you can safely ignore the validator errors.

Accessibility validators are not like markup validators which offer a true pass/fail result. It is currently not possible for an automated tool to make an accurate assessment, so they just give hints on what to check. So don't fall into the trap of making changes or reducing functionality of an accessible site just to work around the deficiencies in the validator. :)

6:40 pm on Mar 2, 2007 (gmt 0)

Junior Member

5+ Year Member

joined:Feb 14, 2007
posts:92
votes: 0


thats what I was saying, since I can't use the noscript tag in my head, how do I render these script tags in the head as accessible content, other instances called in the body can be made 'accessible' with the noscript tag.

checking that link now

6:42 pm on Mar 2, 2007 (gmt 0)

Junior Member

5+ Year Member

joined:Feb 14, 2007
posts:92
votes: 0


thanks encyclo

how would you suggest working around the issue where the scripts we're necessary to functionality?