Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Issue 2945773002: Relation properties for Accessibility Object Model phase 1 (Closed)

Created:
3 years, 6 months ago by dmazzoni
Modified:
3 years, 6 months ago
Reviewers:
dglazkov, aboxhall
CC:
aboxhall, aboxhall+watch_chromium.org, aleventhal+watch_chromium.org, blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, dmazzoni+watch_chromium.org, dmazzoni, dougt+watch_chromium.org, dtseng+watch_chromium.org, eae+blinkwatch, haraken, je_julie, kinuko+watch, nektarios, nektar+watch_chromium.org, platform-architecture-syd+reviews-web_chromium.org, rwlbuis, sof, yuzo+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Relation properties for Accessibility Object Model phase 1 This change implements AOM support for activeDescendant, details, and errorMessage. The corresponding ARIA attributes all take IDREFs, and the AOM properties all take references to AccessibleNodes instead. This patch finally creates a clean solution for sparse attribute support: when asked to retrieve sparse attributes for an AXObject, we first get all AOM properties, and we also get a list of corresponding ARIA attributes. Then we iterate over the Element attributes and check for ARIA attributes, skipping any that were shadowed by AOM attributes. BUG=680345 Review-Url: https://codereview.chromium.org/2945773002 Cr-Commit-Position: refs/heads/master@{#481580} Committed: https://chromium.googlesource.com/chromium/src/+/f5c2c5878f36c17467f901b2d8f659bb7cd8ac0b

Patch Set 1 #

Patch Set 2 : Add tests for details and error message too #

Total comments: 4

Patch Set 3 : Rebase #

Patch Set 4 : Update webexposed #

Patch Set 5 : Rebase #

Patch Set 6 : Fix merge error, format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+666 lines, -152 lines) Patch
M content/shell/test_runner/web_ax_object_proxy.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/shell/test_runner/web_ax_object_proxy.cc View 1 3 chunks +35 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/accessibility/aom-relation-properties.html View 1 1 chunk +76 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/webexposed/global-interface-listing-expected.txt View 1 2 3 4 4 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 4 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/AccessibleNode.h View 10 chunks +53 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/AccessibleNode.cpp View 11 chunks +282 lines, -119 lines 0 comments Download
M third_party/WebKit/Source/core/dom/AccessibleNode.idl View 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp View 1 2 3 4 3 chunks +75 lines, -28 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObject.h View 1 2 3 4 3 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObject.cpp View 1 2 3 4 3 chunks +15 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/AccessibilityObjectModelTest.cpp View 1 2 3 4 5 1 chunk +110 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (29 generated)
dmazzoni
3 years, 6 months ago (2017-06-19 23:07:59 UTC) #7
aboxhall
https://codereview.chromium.org/2945773002/diff/20001/third_party/WebKit/Source/core/dom/AccessibleNode.cpp File third_party/WebKit/Source/core/dom/AccessibleNode.cpp (right): https://codereview.chromium.org/2945773002/diff/20001/third_party/WebKit/Source/core/dom/AccessibleNode.cpp#newcode302 third_party/WebKit/Source/core/dom/AccessibleNode.cpp:302: QualifiedName attribute = GetCorrespondingARIAAttribute(property); Nice. https://codereview.chromium.org/2945773002/diff/20001/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp File third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp (right): ...
3 years, 6 months ago (2017-06-20 01:11:44 UTC) #11
dmazzoni
https://codereview.chromium.org/2945773002/diff/20001/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp File third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp (right): https://codereview.chromium.org/2945773002/diff/20001/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp#newcode241 third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp:241: void AddBooleanProperty(AOMBooleanProperty property, bool value) override {} On 2017/06/20 ...
3 years, 6 months ago (2017-06-20 04:56:34 UTC) #12
dmazzoni
OK, I think this is ready. The only remaining test failures are webexposed/, the latest ...
3 years, 6 months ago (2017-06-20 23:57:44 UTC) #18
dglazkov
lgtm
3 years, 6 months ago (2017-06-21 14:32:07 UTC) #23
aboxhall
lgtm https://codereview.chromium.org/2945773002/diff/20001/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp File third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp (right): https://codereview.chromium.org/2945773002/diff/20001/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp#newcode241 third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp:241: void AddBooleanProperty(AOMBooleanProperty property, bool value) override {} On ...
3 years, 6 months ago (2017-06-22 01:12:39 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2945773002/100001
3 years, 6 months ago (2017-06-22 16:18:36 UTC) #34
commit-bot: I haz the power
3 years, 6 months ago (2017-06-22 17:25:26 UTC) #37
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/f5c2c5878f36c17467f901b2d8f6...

Powered by Google App Engine
This is Rietveld 408576698