configuration.accessibility.headings - Initialization - Assess API

Assess API Initialization

headings

This object provides options for customizing screen reader-only headings for Questions and Features headings by default. This makes it easier for students using screen readers to navigate an assessment without losing their place in the current Item.

Examples

var initializationOptions = {
    "configuration": {
        "accessibility": {
            "headings": {
                "question": {
                    "level": 4 // Render as <h4> instead of default <h3>
                },
                "feature": false // Disable Feature headings
            }
        }
    }
};

Values

Attribute path configuration.accessibility.headings

Default null

Type object

Properties

  • question boolean object

    This option controls whether the screen reader headings are displayed, or not.

  • feature boolean object

    This option controls whether the screen reader headings are displayed, or not.

Versioning

Version added: v2023.3.LTS

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.