Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Script to Assign Accesskeys

Reply
Thread Tools

Script to Assign Accesskeys

 
 
Roy Schestowitz
Guest
Posts: n/a
 
      09-30-2004
Does anybody know if there is a scripts (essentially an HTML file filter)
that will allocate accesskeys to all the links n the input page?

--
Roy Schestowitz
http://schestowitz.com
 
Reply With Quote
 
 
 
 
Jukka K. Korpela
Guest
Posts: n/a
 
      09-30-2004
Roy Schestowitz <roy-at-schestowitz-dot->
wrote:

> Does anybody know if there is a scripts (essentially an HTML file
> filter) that will allocate accesskeys to all the links n the input
> page?


Well, it would take a few minutes to write such a script. Doing it in a
useful way would be _much_ more complicated.

But most importantly: Most accessibility experts these days think that
accesskeys are usually _hostile_ to accessibility, hostile to people who
need to use keyboard controls when browsing Web pages. Instead of helping
anyone, accesskey attributes interfere with the key assignments that
people are used to. Moreover, even in situations where this can be
avoided, the assignments are basically hidden from the user, and attempts
to show or speak them will generally result in a confusion.

For more info see
http://www.cs.tut.fi/~jkorpela/forms/accesskey.html
(which I wrote when I was more optimistic, but see the notes near the
end, describing the problems).

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


 
Reply With Quote
 
 
 
 
Roy Schestowitz
Guest
Posts: n/a
 
      09-30-2004
Jukka K. Korpela wrote:

> Roy Schestowitz <roy-at-schestowitz-dot->
> wrote:
>
>> Does anybody know if there is a scripts (essentially an HTML file
>> filter) that will allocate accesskeys to all the links n the input
>> page?

>
> Well, it would take a few minutes to write such a script. Doing it in a
> useful way would be _much_ more complicated.
>
> But most importantly: Most accessibility experts these days think that
> accesskeys are usually _hostile_ to accessibility, hostile to people who
> need to use keyboard controls when browsing Web pages. Instead of helping
> anyone, accesskey attributes interfere with the key assignments that
> people are used to. Moreover, even in situations where this can be
> avoided, the assignments are basically hidden from the user, and attempts
> to show or speak them will generally result in a confusion.
>
> For more info see
> http://www.cs.tut.fi/~jkorpela/forms/accesskey.html
> (which I wrote when I was more optimistic, but see the notes near the
> end, describing the problems).
>


Thanks Jukka.

I think I browsed that very same page some hours ago. I also will consider
writing a program that scans all <A> tags and adds an accesskey. It then
also needs to underline characters, having resolved which choices to make
for each links.

....it's unlikely that I will find time to start this project, but will
people at least be interested?


--
Roy Schestowitz
http://schestowitz.com
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to execute a script from another script and other script does notdo busy wait. Rajat Python 3 01-08-2010 02:05 PM
Assign a value to a Session variable from an Script Mirovk ASP General 2 08-22-2006 02:04 PM
Assign value to textbox via Java script in VB Sergei ASP .Net 8 03-07-2005 10:18 AM
How do I do to underline a character in the property text of Button or Label ? I have to manage the AccessKeys. THANX ALok Gupta via .NET 247 ASP .Net 2 08-09-2004 03:15 PM
It's a bug!....but is it me or the script? (Global var assign) Halfdan Holger Knudsen Python 3 11-19-2003 04:25 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57