Forum Discussion
How to hide Green/Red feedback bar at the bottom of quiz while review?
CODE BROKE!
Unfortunately with the latest update of Storyline 360, January 2020, Articulate has decided to change where they put alt text from “aria-label” to “data-acc-text”. So with the latest update, we can no longer find an object on stage using “aria-label”, “data-acc-text” has to be used for this way of selecting.
The code to hide the Correct and Incorrect ribbons as of today is:
document.querySelectorAll('[data-acc-text="Correct"]')[0].style.display = "none";
document.querySelectorAll('[data-acc-text="Incorrect"]')[0].style.display = "none";
Anything published with a previous version of Storyline 360, December 2019 and before, works with “aria-label”. Anything published with a later version needs the new code until Articulate again decides to change where they place the alt text.
Of course, it would be best if Articulate gave us a check box to turn off the ribbon.
Related Content
- 3 years ago
- 8 months ago
- 3 months ago