Re: How define if javascript is on with php

From: Date: Sat, 17 Apr 2010 09:43:03 +0000
Subject: Re: How define if javascript is on with php
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-304156@lists.php.net to get a copy of this message
On 16 April 2010 19:02, tedd <tedd.sperling@gmail.com> wrote: > At 3:46 PM +0200 4/16/10, Michiel Sikma wrote: > >> On 16 April 2010 14:06, Paulo-WORK <pauloworkmail@googlemail.com> 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

« previous php.general (#304156) next »