accessibility
Description
Controls ARIA output, announcements, grid semantics, contrast and non-colour cues
accessibility: object
Properties
| Property | Type | Default | Description |
|---|---|---|---|
aria | boolean | true | Emit ARIA attributes. An explicit wai_aria_attributes value takes precedence. |
announcements | boolean | true | Enable the live regions used by gantt.ext.accessibility.announce(). ARIA output must also be enabled. |
grid_semantics | boolean | true | Include grid position information such as row and column counts and indices. |
colorblind_friendly | boolean | false | Add patterns and boundaries to specific task and resource indicators. |
increase_contrast | boolean | false | Increase 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.
Related Guides
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.