[jawsscripts] Re: Interaction with form fields in IE SAP

  • From: "Travis Roth" <travis@xxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 6 Mar 2008 09:10:58 -0600

The ID assigned by the HTML to the form element.

It is unfortunately possible that one has not been assigned. But if it has
you can then access the element. 

For example,

<select name="combo1" ID="c1"> . </select>

 

 

From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Mike
Sent: Thursday, March 06, 2008 8:51 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Interaction with form fields in IE SAP

 

Travis

 

When you say its ID what specifically should i be looking for and how would
i extract its id?

 

From: Travis Roth <mailto:travis@xxxxxxxxxxxxxx>  

Sent: Thursday, March 06, 2008 2:42 PM

To: jawsscripts@xxxxxxxxxxxxx 

Subject: [jawsscripts] Re: Interaction with form fields in IE SAP

 

If you know the ID of the element you want focus to move too you can try to
do it with JavaScript from wwith JAWS script.

 

You can get the DOM object of the current document with the JAWS script
functionIEGetCurrentDocument().

For example,

Var

Object dom

Let dom = IEGetCurrentDocument()

Dom.getElementByID('ID_of_element').setFocus()

 

Note I thik this only has a chance of working in JAWS 7.1 and later where
JAWS relies on the browser for the document.

 

 

From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Mike
Sent: Thursday, March 06, 2008 2:27 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Interaction with form fields in IE SAP

 

Hi all, first post here.

 

I am trying to help a colleague at work by making SAP, which is delivered in
a web browser, more user friendly. Could someone advise on a query i have.
In its simplest terms i would like to access a form field or button on a web
page by scripting it and using a key combination (lets say (ctrl+shift+L).
What options do i have for activating something like a drop down box in IE?
If i know the alt-tag information for that form field is there a way in
which i can use this so when i use my key combination the active cursor is
taken straight there and the user can then select options manually from the
list?

Other related posts: