Blazor ColorPalette Accessibility
The Telerik UI for Blazor ColorPalette component is WCAG 2.1 AA and Section 508 compliant. The component also follows the WAI-ARIA best practices for implementing the keyboard navigation for its component role, and is tested against the popular screen readers.
Wai-Aria
Selector | Attribute | Usage |
---|---|---|
.k-colorpalette | role=grid |
The focusable wrapper of the component should announce its role as a grid . |
aria-label or aria-labelledby
|
The component needs an accessible name to be assigned to it. Must also include the currently selected value in the component. | |
aria-activedescendant=.k-colorpalette-tile.k-focus id |
Points to the focused cell in the table. The focused cell is changed via keyboard navigation. | |
tabindex=0 |
The element must be focusable. | |
.k-colorpalette.k-disabled | aria-disabled=true |
Attribute is rendered only when the ColorPalette is disabled. |
.k-colorpalette-table | role=none/presentation |
Negates the default role of the element, as it is wrapped within a role="grid" element. |
.k-colorpalette-table>tbody>tr | role=row |
Required as the semantic role of its parent <table> has been removed. |
.k-colorpalette-tile | role=gridcell |
Required as the semantic role of its parent <table> has been removed. |
aria-label or title
|
The text representation of the color value for the current cell. | |
.k-colorpalette-tile.k-selected | aria-selected=true |
Present on the currently selected cell in the component. |
Section 508
The ColorPalette is compliant with the Section 508 requirements
Testing
The component has been extensively tested automatically with static code analyzers and manually with the most popular screen readers.
Any Accessibility Issues could be reported in Telerik Support System.
Screen Readers
Environment | Tool |
---|---|
Firefox | NVDA |
Chrome | JAWS |
Microsoft Edge | JAWS |