This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Event Assess API


Fires whenever the learner changes the color settings via the assessment player Accessibility Panel.

You would want to be notified about this event firing, because you might want to update your application UI to match the selected accessibility theme, for example.


itemsApp.on('accessibility:change:color', function (colorPalette) {
    console.log('This code executes when the learner changes the color palette selection on the accessibility panel.');
    console.log('The learner changed the color palette to: ', colorPalette);

Callback arguments

  • colorPalette string
    The id of the color palette that was selected.

Related articles

Was this article helpful?