[patch] [ccla] add aria-readonly property to the grid and to cells as appropriate
Currently waiting for clarification from the ARIA spec on how this should be implemented. Proposal was made that for grid, the default readonly value should be true (rather than false as it is for input fields). Then, readonly=false would be set on editable grid cells rather than having to set readonly=true on non-editable cells.
Change History (5)
Owner: |
changed from Bryan Forbes to Becky Gibson
|
Summary: |
add aria-readonly property to the grid and to cells as appropriate →
[patch] [ccla] add aria-readonly property to the grid and to cells as appropriate
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
May 19 version of the ARIA spec (http://www.w3.org/WAI/PF/aria/#grid) indicates that the default for grid is readonly=false, the grid IS editable, and the readonly value of the grid is propagated to the contained gridcells.
If the DataGrid? contains editable cells, there is no need to set the aria-readonly property on the grid since readonly=false is the default. Each non-editable cell must be marked with aria-readonly=true. The editable cells do NOT need to have an aria-readonly property added since they inherit from the grid.
If the grid does NOT contain any editable cells, set aria-readonly=true on the grid. Each individual cell will inherit this value and thus does not need the readonly property set.
Since the DataGrid? does not currently support editing column headers, those cells get aria-readonly=true, irregardless of the readonly setting of the grid.