MAIDR Documentation - v3.46.2
    Preparing search index...

    HighContrastService manages the high contrast accessibility mode.

    Key behaviors:

    • Captures original colors in constructor (before any transformations)
    • Applies high contrast on focus-in via initializeHighContrast()
    • Restores original colors on blur via suspendHighContrast()
    • Responds to settings changes (toggle via keyboard/UI)

    Implements

    Index

    Constructors

    Methods

    • Initialize high contrast mode after the Controller is fully set up. Call this from the Controller after construction to apply high contrast if enabled.

      Returns void

    • Suspend high contrast mode visually (restore original colors). Called on blur to return the chart to its original appearance. The setting remains ON - this just hides the visual effect while unfocused.

      Returns void

    • Parameters

      • startColor: string
      • endColor: string
      • count: number

      Returns string[]