[jawsscripts] Re: focusing on specific page elements

  • From: "Jim Snowbarger" <Snowman@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sat, 29 Mar 2014 16:29:04 -0500

About the Grease Monkey business, I am definitely interested in that, if a 
little too behind the curve to understand it right away.
But, I'll also pass it on to my friend who might.

----- Original Message ----- 
From: "Scott Huey" <shuey@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Friday, March 28, 2014 9:15 AM
Subject: [jawsscripts] Re: focusing on specific page elements


You actually can, by having JAWS access the DOM document object and then 
using the Document.write() method to insert a <script> element. That said, 
if you're looking to build javascript code to compliment JAWS on a webpage 
you do not have access to the back end of (i.e. is not your website), then 
GreaseMonkey really is the way to go.

To that point, if people are interested in discussing the GreaseMonkey 
injected ARIA as a JAWS interface tool, I have some interesting finds I've 
come across in my primary project which I'd be glad to start sharing, it's 
just a really idiosyncratic and niche application of the tech that I'm not 
really sure many people will be interested in.

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of John Martyn
Sent: Friday, March 28, 2014 8:46 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: focusing on specific page elements

No, it has to be coded on the webpage. There is no way to inject javascript 
commands into a webpage through jaws.
HTH
John

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Homme, James
Sent: Friday, March 28, 2014 6:44 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: focusing on specific page elements

Hi,
Do you then get JAWS to somehow insert this into the DOM?

Jim



-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of John Martyn
Sent: Friday, March 28, 2014 7:25 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] focusing on specific page elements

I just thought of this. If you want to bring control to a specific form 
element, the best thing to do is use javascript.
One an OnClick element of a link you can call a function that says

Document.formName.formelementName.focus()



This would be the fastest way to bring focus to an element whether it be a 
form or a link etc. But you need to name the name and id of that control so 
javascript sees it. For example:

Function clickIt(){

Document.divName.ElementName.Focus()

}

HTML code

<a href="" OnClick="javascript:ClickIt()">



<div name="objectName" id="objectName">

Some element here

</div>

Or if you are using multiple forms

Document.formName.FieldName.Focus()

<form name="myForm" id="myForm" action=.

<input name=FieldName" id="fieldname" type="text">

Just a thought at 5 am after thinking about it.

HTH

John Martyn



__________�

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts


________________________________

This e-mail and any attachments to it are confidential and are intended 
solely for use of the individual or entity to whom they are addressed. If 
you have received this e-mail in error, please notify the sender immediately 
and then delete it. If you are not the intended recipient, you must not 
keep, use, disclose, copy or distribute this e-mail without the author's 
prior permission. The views expressed in this e-mail message do not 
necessarily represent the views of Highmark, its diversified business, or 
affiliates.

__________�

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

__________�

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts


__________�

View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts



__________�

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: