public class Accessibility extends AbstractConfigurationObject
Options for configuring accessibility for the chart. Requires the accessibility module to be loaded. For a description of the module and information on its features, see Highcharts Accessibility.
Constructor and Description |
---|
Accessibility() |
Accessibility(Boolean enabled) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getDescribeSingleSeries() |
Boolean |
getEnabled() |
KeyboardNavigation |
getKeyboardNavigation() |
String |
getOnTableAnchorClick() |
String |
getPointDateFormat() |
String |
getPointDateFormatter() |
String |
getPointDescriptionFormatter() |
String |
getScreenReaderSectionFormatter() |
String |
getSeriesDescriptionFormatter() |
void |
setDescribeSingleSeries(Boolean describeSingleSeries)
Whether or not to add series descriptions to charts with a single series.
|
void |
setEnabled(Boolean enabled)
Enable accessibility features for the chart.
|
void |
setKeyboardNavigation(KeyboardNavigation keyboardNavigation)
Options for keyboard navigation.
|
void |
setOnTableAnchorClick(String _fn_onTableAnchorClick) |
void |
setPointDateFormat(String pointDateFormat)
Date format to use for points on datetime axes when describing them to
screen reader users.
|
void |
setPointDateFormatter(String _fn_pointDateFormatter) |
void |
setPointDescriptionFormatter(String _fn_pointDescriptionFormatter) |
void |
setScreenReaderSectionFormatter(String _fn_screenReaderSectionFormatter) |
void |
setSeriesDescriptionFormatter(String _fn_seriesDescriptionFormatter) |
public Accessibility()
public Accessibility(Boolean enabled)
public Boolean getDescribeSingleSeries()
setDescribeSingleSeries(Boolean)
public void setDescribeSingleSeries(Boolean describeSingleSeries)
Defaults to: false
public Boolean getEnabled()
setEnabled(Boolean)
public void setEnabled(Boolean enabled)
Defaults to: true
public KeyboardNavigation getKeyboardNavigation()
public void setKeyboardNavigation(KeyboardNavigation keyboardNavigation)
public String getOnTableAnchorClick()
public void setOnTableAnchorClick(String _fn_onTableAnchorClick)
public String getPointDateFormat()
setPointDateFormat(String)
public void setPointDateFormat(String pointDateFormat)
Date format to use for points on datetime axes when describing them to screen reader users.
Defaults to the same format as in tooltip.
For an overview of the replacement codes, see dateFormat.
public String getPointDateFormatter()
public void setPointDateFormatter(String _fn_pointDateFormatter)
public String getPointDescriptionFormatter()
public void setPointDescriptionFormatter(String _fn_pointDescriptionFormatter)
public String getScreenReaderSectionFormatter()
public void setScreenReaderSectionFormatter(String _fn_screenReaderSectionFormatter)
public String getSeriesDescriptionFormatter()
public void setSeriesDescriptionFormatter(String _fn_seriesDescriptionFormatter)
Copyright © 2023. All rights reserved.