Re: How define if javascript is on with php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux