Featured Categories
-
Lectora®
Lectora® is the most trusted authoring tool in the world. Rock out your creativity! Author courses any way you like. Lectora adheres to best practices for Accessibility and Web Content Accessibility Guidelines (WCAG), offers responsive authoring for eLearning, and publishes to any LMS (Learning Management System).
-
CenarioVR®
Experience virtual reality through CenarioVR®, our training and virtual reality (VR) authoring software that allows you to create immersive learning in minutes! No coding required!
-
Rockstar Learning Platform®
Our Rockstar Learning Platform® has all the features you’ll love. Help your employees be better at their jobs, more valuable to your company, and most effective in servicing your customers.
-
The Training Arcade®
Level up your learner engagement with the Training Arcade®! The Training Arcade is a library of fun, mobile-ready, casual games that can be rapidly customized with your content to create effective gaming!
-
ELB Learning Content
Did you know that our AssetLibrary™ has over 120 million engaging, interactive, and awe-inspiring templates and assets to help you become an eLearning Rockstar®?
Loss of focus on Submit buttons when hidden at any point when a course is Published

When I created the page it worked in both a Run preview as well as Preview Page In (any) Browser. However, the moment the course was Published, that must have rendered the code differently as it breaks it. In short, when the course is Lectora 19 Published (HTML, SCORM etc.) the Submit buttons lose focus. Not only will they not be clickable (other than a visible mouseover state change), it will break the Accessibility focus for tab interaction.
I've recreated and attached a sample with a similar page as the broken functionality is easy to replicate. Since this HTML previews properly I'm inclined to think this is a publishing bug, as well as an Accessibility flaw, I'm still trying to find a workaround.
-Darrell
Best Answer
-
@web-foley This replacement file is to fix: "Button that is initially hidden and disabled which fails to work after show and enabled."
This file is ONLY for Lectora version 19.0.4
Link:
https://elearningbrothers.sharefile.com/d-s362302a8216f40e5a7248576d04fc71b
Steps:
Locate your installed directory similar to: C:\Program Files (x86)\eLearningBrothers\Lectora 19\Support Files
Locate file trivantis-button.js and rename to trivantis-button.js.old
Copy the downloaded file to this folder
Rename the downloaded file to trivantis-button.js
Restart Lectora and publish titles again.
Robert.1
Answers
-
A coworker has made some further observations. (thanks Trevor)If I compare the Preview in Browser (Left) source code to the Published to web source code on the right.
After selected the question distractor, It appears that the published to web version is still set to disabled… even though it doesn’t look like it. That’s why you can’t click it.
In Chrome Dev mode, when I removed the ‘disabled’ … BOOM it worked. So why is the set Button to Normal action not fully working.
If you add some Jquery to the action sequence of each of the choice buttons to clear that nagging disabled attribute.
triv$('[id*=button] button', getDisplayDocument()).removeAttr("disabled")
And strangely you only need to add them to one.
its also weird that if I remove the Enable Submit action. my code as a standalone doesnt work.
1 -
@web-foley we are looking into the issue and we'll keep you posted. Sorry about the inconvenience.
Robert.1
Categories
- 35.9K All Categories
- 110 ✫ Announcements
- 33.2K Lectora®
- 31.1K Lectora Discussions
- 29K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 27 ELB Learning Content
- 27 ELB Learning Content Discussions
- 346 CenarioVR®
- 205 CenarioVR Discussions
- 141 CenarioVR Feature Requests
- 44 Rockstar Learning Platform®
- 41 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 48 ReviewLink®
- 48 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 938 All Things eLearning
- 39 eLearning Development
- 546 Learning Management System (LMS) Integration
- 333 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products