[jawsscripts] Re: using GetElementsByClassName in a script

  • From: Jonathan Cohn <jon.c.cohn@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Mon, 9 May 2016 08:55:21 -0400

I believe you are stuck with the getXML and then using XML parsing commands to 
get to the element in question. The Sharepoint scripts provided with the JAWS 
use XML functions to grab the elements in the SharePoint toolbar and present 
them in a dialog, this should give you a good starting point. 


Best wishes,

Jonathan



On 9 May 2016, at 08:31, Jason Fayre <jfayre@xxxxxxxxx> wrote:

Hello everyone,
I'm still working on writing scripts for the internal credit card
application I mentioned a while ago.
I've run across a button that has aria-hidden=true set, so JAWS
doesn't see it. This site had another one just like this that I was
able to work around, but this one is giving me trouble. The button has
no ID set, but it does have a class. So, I should be able to use
GetElementsByClassName. The problem is that I'm not sure what type of
value this returns from a JAWS scripting standpoint. I thought it
returned an array, but that either isn't true, or I'm just not
accessing it correctly. Can anyone give me some pointers?
We are trying to reach out to the developers to get this stuff fixed,
but things are moving slower than we might like.
__________�

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: