Accessible Custom Cell Renderer Contract
Custom renderers follow a documented authoring contract covering focusable elements, labelling, the use of the provided interactive props and avoiding roles that break the grid. A dev-mode validator flags violations. Accessibility is therefore preserved when teams extend the grid.
Planned. This page shows the specification from issue #203. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
Side-by-side 'compliant' and 'non-compliant' renderer examples, with a validator output panel.
Expected behavior
Broken renderers produce specific warnings that link to guideline sections. Compliant renderers produce none and work in both navigation and interaction modes.
Planned API surface
cellRendererrenderer context (ariaLabelFor, interactiveProps)validateRenderersrendererA11yWarningAcceptance criteria
- The validator detects tabindex>=0, missing accessible names on interactive elements, and nested role=grid/table/row. (pending)
- Each warning references a guideline id. (pending)
- Renderers receive a context exposing column header text and a row label for labelling. (pending)
- The validator has zero cost in production builds. (pending)