본문으로 건너뛰기

accessibility

Description​

Controls ARIA output, announcements, grid semantics, contrast and non-colour cues

accessibility: object

Properties​

PropertyTypeDefaultDescription
ariabooleantrueEmit ARIA attributes. An explicit wai_aria_attributes value takes precedence.
announcementsbooleantrueEnable the live regions used by gantt.ext.accessibility.announce(). ARIA output must also be enabled.
grid_semanticsbooleantrueInclude grid position information such as row and column counts and indices.
colorblind_friendlybooleanfalseAdd patterns and boundaries to specific task and resource indicators.
increase_contrastbooleanfalseIncrease text contrast in the default Terrace skin.

Example​

gantt.config.accessibility.increase_contrast = true;
gantt.config.accessibility.colorblind_friendly = true;
gantt.init("gantt_here");

Details​

Call gantt.render() after changing the visual options on an initialized chart. Use gantt.ext.accessibility.isEnabled() to check the resolved ARIA setting.

Change log​

  • Added in v10.1
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.