[jawsscripts] Re: Element attribute values.

  • From: Chad Foster <chad.foster@xxxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Sun, 3 May 2009 16:13:59 -0400

Léonie - check out the GetElementDescription function. You can use it
in conjunction with the StringContains function to achieve what you
need. Also, you can use MoveToTagWithAttribute to accomplish the same
thing.


HTH,

Chad


On 5/3/09, Léonie Watson <tink@xxxxxxxxxx> wrote:
> Good evening,
>
>       I'm returning to Jaws scripting after a bit of a break. I've refreshed 
> my
> memory on the basics, and feel pretty comfortable with things at that level.
>
>       I'm now trying to write a script that will allow me to identify all the
> links
> on a page with a specific attribute. The catch is that I also need to be
> able
> to identify a specific value for that attribute. I'd then like to be able to
> move between the links that have this specific attribute/value combination.
>
>       I've started with a script that will move to the next link on the page 
> with
> the given attribute/value combination. The MoveToTagWithAttribute() function
> successfully gets me part of the way, but I'm struggling with a method for
> getting at the attribute value information.
>
>       I've used the DisplayBasicElementInfo() function, which provides just 
> the
> kind of information I need on the element. The trouble is that I don't want
> it
> to appear in the virtual reader, but instead would like to be able to access
> it to determine if the element has the right attribute/value combination.
>
>       It's quite possible of course that I'm taking entirely the wrong 
> approach!
> If
> anyone can help, make any suggestions or point me in the direction of some
> further reading/resources, I'd be grateful. At the moment, this is making me
> dizzy! Thanks.
>
> Léonie.
>
>
> --
> http://www.tink.co.uk/
>
> Email: tink@xxxxxxxxxx
> Twitter: LeonieWatson
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature
> database 4049 (20090501) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
>


-- 
Chad Foster
Access Technology Solutions
Leveling The Playing Field Through Technology
http://www.GO-ATS.net
__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: