WarUI

Accessible Name, Description and Caption

GRID-A23-F02P0baselinePlanned

The grid accepts an accessible name through aria-label, aria-labelledby or a visible caption, and an optional description through aria-describedby. Every grid on a page then has a unique, meaningful identity. The grid emits a development warning when no name is supplied.

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

Two stacked grids. The first has a visible caption, and the second uses aria-labelledby pointing to a heading.

Expected behavior

Choosing 'none' logs a console dev warning and shows a warning badge in the demo. The computed accessible name panel updates live with each change.

Planned API surface

ariaLabelariaLabelledByariaDescribedBycaptioncaptionVisibledevWarnings

Acceptance criteria

  • The computed accessible name of the grid matches the configured strategy. (pending)
  • When both ariaLabelledBy and ariaLabel are set, ariaLabelledBy takes precedence, following the accname spec. (pending)
  • When captionVisible=false, the caption stays in the accessibility tree but is visually hidden. (pending)
  • With devWarnings enabled, an unnamed grid logs exactly one warning per instance. (pending)