Bug 171189 - AX: Propagate aria-readonly to grid descendants
Summary: AX: Propagate aria-readonly to grid descendants
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Joanmarie Diggs
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-04-22 21:59 PDT by Joanmarie Diggs
Modified: 2017-05-08 09:43 PDT (History)
9 users (show)

See Also:


Attachments
Patch (20.26 KB, patch)
2017-05-08 05:40 PDT, Joanmarie Diggs
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joanmarie Diggs 2017-04-22 21:59:55 PDT
The following normative statement was added to the ARIA 1.1 spec for grids: "If aria-readonly is set on an element with role grid, user agents MUST propagate the value to all gridcell elements owned by the grid and expose the value in the accessibility API."

The Core AAM states for AXAPI: "For elements with role='gridcell', and no aria-readonly property, the grid cell must inherit any author aria-readonly='true' property from the containing grid or treegrid and expose AXValue such that the accessibilityIsAttributeSettable method returns NO."

And for ATK: "For elements with role='gridcell', and no aria-readonly property, the grid cell must inherit any author aria-readonly='true' property from the containing grid or treegrid and expose STATE_READ_ONLY."

This propagation seems to be failing for both platforms.

See:
* https://rawgit.com/w3c/aria/master/aria/aria.html#grid
* https://rawgit.com/w3c/aria/master/core-aam/core-aam.html#ariaReadonlyTrue
Comment 1 Radar WebKit Bug Importer 2017-04-22 22:00:36 PDT
<rdar://problem/31776419>
Comment 2 Joanmarie Diggs 2017-05-08 05:40:11 PDT
Created attachment 309355 [details]
Patch
Comment 3 Joanmarie Diggs 2017-05-08 06:42:02 PDT
Comment on attachment 309355 [details]
Patch

Chris: Please review. Thanks!
Comment 4 WebKit Commit Bot 2017-05-08 09:43:11 PDT
Comment on attachment 309355 [details]
Patch

Clearing flags on attachment: 309355

Committed r216425: <http://trac.webkit.org/changeset/216425>
Comment 5 WebKit Commit Bot 2017-05-08 09:43:12 PDT
All reviewed patches have been landed.  Closing bug.