Skip to content

Accessibility

NextGrid exposes semantic ARIA grid roles and keyboard interactions directly on its retained DOM structure.

  • Grid Semantics: The root element uses role="grid" with aria-rowcount, aria-colcount, aria-rowindex, aria-colindex, and aria-selected updated as rows and columns virtualize.
  • Accessible Name: Configure ariaLabel or ariaLabelledBy in GridOptions<T>.
  • Roving Focus & Modality: Logical focus moves smoothly across headers, body cells, pinned regions, full-width rows, and detail grids. Pointer clicks on headers add .grid-pointer-modality to suppress unwanted click outlines while keeping keyboard focus outlines crisp.
  • Live Announcements: Clipboard operations announce copy/paste counts, rejections, and read-permission hints through a polite role="status" region (.grid-clipboard-status).
  • Localization of ARIA Labels: All ARIA strings come from GridLocaleText and can be translated via localeText.
  • High Contrast (forced-colors): Active focus rings, invalid editor frames, and clipboard feedback adapt automatically under @media (forced-colors: active).