473,785 Members | 2,882 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2070
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.ne t/pesticides/accessibility.h tml#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.ne t/pesticides/accessibility.h tml#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
11170
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 the Check Box, AfterUpdate, I have tried: IIf(>=24,True,False) Also: IIf(>=24,1,0) Also:
8
3538
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 the moment the printed output is usually going to Word. It's turning into an unholy mess, because I'm having to prepare umpteen different Word templates, and the queries that drive them, depending on what events a course has.
70
4127
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
5005
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, making it visible or not. Yep you guessed it, expanding tree type functionality. The header has an onclick event onclick='Doexpandcollapse
6
4762
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 up using iframe and it is working fine. On mouseout event of each cell I have destroyed the created the iframe. This is working fine. But if I try to move the cursor over the iframe, the mouseout event is fired and my iframe is vanishing off.
8
2703
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 process). Lots of decompiling and lots of compacting of the original application in A2000. Then the app was opened in A2003 and compacted, decompiled and compacted. Next I imported everything into a blank A2003 database. Then this db was...
4
388
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How can I access the client-side filesystem? ----------------------------------------------------------------------- Security means that by default you can't. In a more restricted enviroment, there are options. For example, using LiveConnect to connect to Java with Netscape, and using the FileSystemObject in IE. Check http://groups.google.com/
2
8263
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 in Access become read only and I can't add new records to them. If I go into design view (in Access) the tables have lost their Primary Key. In SQL, they still work just fine. The only way I have found to get the links working again is to delete...
24
5083
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 same code, except a different name for the file. The Microsoft Jet database engine cannot open the file 'C:\Inetpub\wwwroot\Accident.mdb'. It is already opened exclusively by another user, or you need permission to view its data.
0
9645
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10327
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10151
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8973
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7499
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6740
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3647
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.