Accessibility in EJ2 JavaScript Dashboard Layout component
13 Jun 20243 minutes to read
The Dashboard Layout component followed the accessibility guidelines and standards, including ADA, Section 508, WCAG 2.2 standards, and WCAG roles that are commonly used to evaluate accessibility.
The accessibility compliance for the Dashboard Layout component is outlined below.
Accessibility Criteria | Compatibility |
---|---|
WCAG 2.2 Support | |
Section 508 Support | |
Screen Reader Support | |
Right-To-Left Support | |
Color Contrast | |
Mobile Device Support | |
Keyboard Navigation Support | Not applicable |
Accessibility Checker Validation | |
Axe-core Accessibility Validation |
WAI-ARIA attributes
The Dashboard Layout component followed the WAI-ARIA patterns to meet the accessibility. The following ARIA attributes are used in the Dashboard Layout component:
Attributes | Purpose |
---|---|
role=list |
Indicates the role as a list for the Dashboard Layout element. |
role=listitem |
Indicates the role as a listitem for the Dashboard panels. |
role=presentation |
Indicates the role as a presentation for the table when the showGridLines property is enabled. |
aria-grabbed |
When the panel is chosen for dragging, the aria-grabbed attribute is set to “true”. If it’s set to “false”, the element can be grabbed for drag-and-drop, but it won’t be actively held. |
Keyboard interaction
Keyboard support is not applicable for the Dashboard Layout.
Ensuring accessibility
The Dashboard Layout component’s accessibility levels are ensured through an accessibility-checker and axe-core software tools during automated testing.
The accessibility compliance of the Dashboard Layout component is shown in the following sample. Open the sample in a new window to evaluate the accessibility of the Dashboard Layout component with accessibility tools.