On Sat, 2010-04-17 at 11:43 +0200, Michiel Sikma wrote: > On 16 April 2010 19:02, tedd <tedd.sperling@xxxxxxxxx> wrote: > > > At 3:46 PM +0200 4/16/10, Michiel Sikma wrote: > > > >> On 16 April 2010 14:06, Paulo-WORK <pauloworkmail@xxxxxxxxxxxxxx> wrote: > >> > >> -snip- > >> > > > > Paulo: > > > > I agree. Here's a working example with everything you need: > > > > http://sperling.com/examples/javascript-detection/ > > > > Cheers, > > > > tedd > > > > > Another important thing to consider is that the web is meant to be > accessible to even those using a screen reader. Screen readers don't support > Javascript (to my knowledge) and instead rely on properly written HTML. By > having regular content and overriding it with Javascript, you're ensuring > that the visually impaired, among others, can also use your site. > > Michiel Visually impaired aren't the only people that Javascript poses a problem for. Consider someone with Arthritis or severe RSI who cannot use a mouse as easily, if at all, as most people. A lot of Javascript uses event handlers like onclick and onmouseover, which are specifically geared towards using a mouse and won't work on a browser that is being navigated by a keyboard. Thanks, Ash http://www.ashleysheridan.co.uk