Forum Discussion

DahleenHansen-2's avatar
DahleenHansen-2
Community Member
2 months ago
Solved

Customized thumb of progress bar can be moved

Hi Community! I've set up a customized thumb for my progress meter. This thumb can be moved from learners and I can't figure out how to restrict this behavior.  I already set up a hotspot and unc...
  • SteveGannon's avatar
    2 months ago

    Draw a rectangle over the full width of the progress bar, no border, and fill the rectangle white but set the fill to 99% transparent. The progress bar will be visible but users won't be able to interact with the progress bar with the mouse pointer since the rectangle is on top of it.

    Next, hide the rectangle and the progress bar from the focus order (or uncheck "Object is visible to accessibility tools" in the Size and Position > Accessibility tab). If you want the screen reader to point out that the progress bar is there, apply your alt-text to the rectangle. Keeping the progress bar hidden from accessibility tools will ensure users can't tab to it and use their keyboard to interact with it.