473,408 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Access key that actually follows a link

I want to make my website properly accessible. I want to assign keys
that navigate to a different page when pressed.

I've looked into the accesskey attribute, but under IE that involves
pressing the ALT key with the accelerator, and then pressing return.

Is there a way that you can define an access key to just follow a link,
without pressing ALT and without having to press RETURN?

Aug 16 '05 #1
6 2057
ja**************@hotmail.com wrote:
I want to make my website properly accessible. I want to assign keys
that navigate to a different page when pressed.

These usually cause problems. You ought to at least be aware of that. There
are collision in key sequences that cause signals to be devoured or
overridden.

I've looked into the accesskey attribute, but under IE that involves
pressing the ALT key with the accelerator, and then pressing return.

Yes, in NS-based browsers it's just ALT+key which would raise plenty of
conflicts. I think that in Mac's IE5 and Safari it's the the Apple key+key
so conflicts should be expected as well.

Is there a way that you can define an access key to just follow a link,
without pressing ALT and without having to press RETURN?


I hope you are not very serious about this. It is not possible unless you
use JavaScript and it would be a bad idea nonetheless. For example, when I
press a key (any character), a search on the page is performed which
highlights the text (it's an accessibility feature). If you implemeted what
you have in mind, you would antagonise your visitors. You need to have a
very valid reason to do so.

Roy

--
Roy S. Schestowitz
http://Schestowitz.com
Aug 16 '05 #2
"Roy Schestowitz" wrote:
I've looked into the accesskey attribute, but under IE that involves
pressing the ALT key with the accelerator, and then pressing return.

Yes, in NS-based browsers it's just ALT+key which would raise plenty of
conflicts. I think that in Mac's IE5 and Safari it's the the Apple key+key
so conflicts should be expected as well.


Actually in most (all?) Mac browsers the control key is used for access
keys, so there's much less chance of it interfering with other keyboard
shortcuts (which normally use the command key).

--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/
Aug 16 '05 #3
On Tue, 16 Aug 2005, ja**************@hotmail.com wrote:
I want to make my website properly accessible. I want to assign keys
that navigate to a different page when pressed.
Unfortunately, this isn't as straightforward as it seems.

Defining accesskeys in your markup is a clearly defined procedure, but
many browser implementations are inadequate - in the sense that the
accesskeys will clash with other uses of the same key combinations in
the browser and/or user interface.
I've looked into the accesskey attribute, but under IE that involves
pressing the ALT key with the accelerator, and then pressing return.
It's not only IE that's a problem in this context...
Is there a way that you can define an access key to just follow a link,
without pressing ALT and without having to press RETURN?


That's really not under your control as a web author: the browser
belongs to the user - they can and should be expected to know how to
use their own browser interface, to the extent that they want to use
it, and interfering with that user interface (even if you can) is
rated to only make things even more confusing for them.

If you were a browser designer, rather than a web author, you could
expect a very different answer!

If accesskey implementation in browsers is known to be quite widely
unsatisfactory (and there seems to be quite a body of opinion which
says that it is), then your only recourse as a web author seems to be
"not to use it".

best regards
Aug 16 '05 #4

ja**************@hotmail.com wrote:
I want to make my website properly accessible. I want to assign keys
that navigate to a different page when pressed.

I've looked into the accesskey attribute, but under IE that involves
pressing the ALT key with the accelerator, and then pressing return.

Is there a way that you can define an access key to just follow a link,
without pressing ALT and without having to press RETURN?


The way that browsers respond to access keys in not under your control,
it depends on how the browser has been programmed.

The Mac-only browser iCab does what you want with access keys, but I
don't think any other browsers do. I have a table of how browsers
implement access keys here:

<http://www.alanwood.net/pesticides/accessibility.html#keys>

--
Alan Wood
http://www.alanwood.net (Unicode, special characters, pesticide names)

Aug 17 '05 #5
Alan Wood wrote:

I have a table of how browsers implement access keys here:

<http://www.alanwood.net/pesticides/accessibility.html#keys>


FYI, in gecko browsers, automatically following the accesskey link (or
not) is set by a pref. I disabled that feature because I got tired of
unexpectedly being sent to parts unknown of a site. It was majorly annoying.

I don't remember the exact pref, but you can find it if you type
about:config in the browser location bar and search for "accessibility".

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Aug 17 '05 #6
Thanks for the good advice. On reflection, what I was asking for would
have been a bad idea.

Aug 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Terry | last post by:
Hello, I am designing a form and need to know how to get a Check Box(PASS)to automatically update when the data in a Text Box (MARK), in the same form, is >=24. Using the Event dialogue box for...
8
by: Mike MacSween | last post by:
tblCourses one to many to tblEvents. A course may have an intro workshop (a type of event), a mid course workshop, a final exam. Or any combination. Or something different in the future. At...
70
by: Neil Ginsberg | last post by:
Does anyone know if a new version of Access is due to come out anytime soon? Thanks, Neil
11
by: trinitypete | last post by:
Hi all, I have a user control that uses control literal to build a heading with a link, and a div containing links below. As the link heading is hit, I want to change the style of the div,...
6
by: jeet_sen | last post by:
Hi, I have generated a table and have attached a pop up to display at onmouseover event of each cell. For each cell the pop up will display cell specific detailed data. I have generated the pop...
8
by: rdemyan via AccessMonster.com | last post by:
I've converted my application from A2K format to A2003 format. I tried to follow Allen Browne's protocol in getting my app into A2003 (although I was unable to find informtion on the conversion...
4
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How can I access the client-side filesystem?...
2
by: Bobby | last post by:
Hi, Not sure if this is Access, SQL or ODBC. I have a SQL database with an Access Front End. They are linked with ODBC. Occasionally (it's happened 3 times in 4 months) some of the linked tables...
24
by: dancer | last post by:
Using ASP.net 1.1 and Microsoft Access. I received the following error message. Why? I have closed the Access file. I have another very small access file that opens with no trouble with the...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.