File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Avoiding menu buttons from tab order Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Avoiding menu buttons from tab order" Watch "Avoiding menu buttons from tab order" New topic

Avoiding menu buttons from tab order

Dimitris Karageorgopoulos

Joined: Oct 11, 2010
Posts: 11
Dear experts,

I have created a web page which contains a number of buttons, dynamically created by SQL queries in the database.

The web page will be used by elderly users, so I want the navigation within the page to be as simple as possible, mainly by means of the TAB button.

I want that when the last button of my web page is active and focused, then the next TAB stroke would make active and focused the first button of my web page. The default functionality so far is that any button present in the browser menu become activated and focused.

Is there any way I could skip these buttons from the TAB order and only my web page buttons be circulated ?
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33102

You can use the tabindex attribute to control the order within your page. You can't skip the browser buttons. The user could want to go to the browser and corrupting it would be unfriendly. There are only a couple browser tab links and then you are back to your order.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Avoiding menu buttons from tab order
jQuery in Action, 3rd edition