[nycphp-talk] html 5
Peter Sawczynec
ps at sun-code.com
Fri Feb 1 12:49:21 EST 2008
And also, it has always been my observation that tab and shift-tabbing
thru form elements is a browser level functionality employed by all. So
that an onload JS puts the user in the form then they tab it as needed.
And a hit of the enter key submits the focused submit button or even
submits the active form from any focused location in the form.
But I believe another problem here is that readers look to accesskey
attributes to read their function or name info out to users who need
this service. So that JS, ids, and browser tabbing may still not match
what accesskey can do.
Peter
-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
On Behalf Of Peter Sawczynec
Sent: Friday, February 01, 2008 12:38 PM
To: 'NYPHP Talk'
Subject: RE: [nycphp-talk] html 5
Yes. That is correct. My bad. But, further generally to this area. Then
I was thinking that in a more convoluted way one might yet be able to
use JS with onkeypress event captures, so that JS could still remain
valuable here. So that certain keyboard combination events could be
hooked to send focus to form elements by id. Plausible? Yes? No? Also,
Flash AS has access key attributes to maybe help meet this need too.
Peter
-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
On Behalf Of Allen Shaw
Sent: Friday, February 01, 2008 12:14 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] html 5
Peter Sawczynec wrote:
> So are we saying that "id" and "name" will be used in favor of
> "accesskey". It was my impression that ultimately it
> was "id" that was supposed to win out as the way to address all the
> elements in the DOM. Is that right?
>
Hi Peter,
I think the discussion for accesskey is not about how to JS code to
access the element but how to allow the user to access a form element or
link without using the mouse or tabbing through other elements to get to
it.
- Allen
--
Allen Shaw
slidePresenter (http://slides.sourceforge.net)
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
More information about the talk
mailing list