From a0c06a9996eb1b61e1c2a362932db8df81bd45c0 Mon Sep 17 00:00:00 2001 From: Matt King Date: Fri, 20 Jul 2018 00:42:58 -0700 Subject: [PATCH] Grid pattern: Add guidance for aria-selected to support column selection Resolve issue #772 by adding the following to the states and properties section of the grid pattern in aria-practices.html: `If the grid supports column selection and a column is selected, all cells in the column have aria-selected set to true.` --- aria-practices.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aria-practices.html b/aria-practices.html index 6ff0652f4b..dd0e2eceac 100644 --- a/aria-practices.html +++ b/aria-practices.html @@ -1535,7 +1535,10 @@

WAI-ARIA Roles, States, and Properties

  • If the grid has a caption or description, aria-describedby is set on the grid element with a value referring to the element containing the description.
  • If the grid provides sort functions, aria-sort is set to an appropriate value on the header cell element for the sorted column or row as described in the section on grid and table properties.
  • -
  • If the grid supports selection, when a cell or row is selected, the selected element has aria-selected set true.
  • +
  • + If the grid supports selection, when a cell or row is selected, the selected element has aria-selected set true. + If the grid supports column selection and a column is selected, all cells in the column have aria-selected set to true. +
  • If the grid provides content editing functionality and contains cells that may have edit capabilities disabled in certain conditions, aria-readonly may be set true on cells where editing is disabled. If edit functions are disabled for all cells, aria-readonly may be set true on the grid element.