Class: AccessibilityComponent

Highcharts. AccessibilityComponent

new AccessibilityComponent()

The AccessibilityComponent base class, representing a part of the chart that has accessibility logic connected to it. This class can be inherited from to create a custom accessibility component for a chart.

Components should take care to destroy added elements and unregister event handlers on destroy. This is handled automatically if using this.addEvent and this.createElement.

Requires:
  • module:modules/accessibility
Try it

Requires

  • module:modules/accessibility

Methods

<static> destroy()

Called when accessibility is disabled or chart is destroyed.

<static> getKeyboardNavigation()

Get keyboard navigation handler for this component.

Returns:

<static> init()

Called on component initialization.

<static> onChartRender()

Called on every chart render.

<static> onChartUpdate()

Called on updates to the chart, including options changes. Note that this is also called on first render of chart.