I have been tasked with testing our Captivate eLearning courses for accessibility using JAWS 2018. In the process of learning JAWS, I noticed that any variable output to the screen is read exactly as it is on the slide, i.e. Slide $$cpInfoCurrentSlide$$ of $$cpInfoSlideCount$$ is read as "page dollar sign dollar sign, cpinfoslidecount dollar sign dollar sign of dollar sign dollar sign cpinfoslidecount dollar sign dollar sign" instead of reading "page 4 of 21"
If anybody has encountered this issue and found a solution, your help will be greatly appreciated.
document.getElementById( 'current_slideaccStr' ).childNodes[ 0 ].innerHTML = "Page " + window.cpInfoCurrentSlide + " of " + window.cpInfoSlideCount;
The part in bold is the name of the text caption that holds the variable.
Use this script:
document.getElementById( 'slideNumaccStr' ).childNodes[ 0 ].innerHTML = "Page " + window.cpInfoCurrentSlide + " of " + window.cpInfoSlideCount;},1000)
The part in bold "slideNum" is the name of the text caption your variables is in. Put it on the first slide and display for the rest of project, it won't work id you put it on a master slide.