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

Issue 679623002: Check whether aria-expanded attribute is defined (Closed)

Created:
6 years, 2 months ago by je_julie(Not used)
Modified:
6 years, 1 month ago
CC:
blink-reviews, dglazkov+blink, aboxhall, mkwst+moarreviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Check whether aria-expanded attribute is defined This patch introduces new enum type, AccessibilityExpanded, for handling expanded and collapsed states to follow http://goo.gl/dVClpj. BUG=98982 R=dmazzoni@chromium.org, mkwst@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184621

Patch Set 1 #

Total comments: 2

Patch Set 2 : Update API order #

Patch Set 3 : Introduce new enum for aria-expanded #

Total comments: 6

Patch Set 4 : Update expanded API for AXMenuList #

Total comments: 3

Patch Set 5 : Add COMPILE ASSERT for new enum type #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -16 lines) Patch
M Source/core/accessibility/AXMenuList.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/accessibility/AXMenuList.cpp View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/accessibility/AXNodeObject.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/accessibility/AXNodeObject.cpp View 1 2 3 4 2 chunks +7 lines, -5 lines 0 comments Download
M Source/core/accessibility/AXObject.h View 1 2 3 4 3 chunks +7 lines, -2 lines 0 comments Download
M Source/core/accessibility/AXRenderObject.cpp View 1 2 3 4 1 chunk +11 lines, -2 lines 0 comments Download
M Source/web/AssertMatchingEnums.cpp View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M Source/web/WebAXObject.cpp View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M public/web/WebAXEnums.h View 1 2 3 4 2 chunks +9 lines, -1 line 0 comments Download
M public/web/WebAXObject.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (3 generated)
je_julie(Not used)
Hi Dominic and Mike, I found we need to distinguish 'undefined' and 'false' for aria-expanded ...
6 years, 2 months ago (2014-10-24 07:43:38 UTC) #1
dmazzoni
To make this a bit cleaner, we should really add some new enum types, like ...
6 years, 2 months ago (2014-10-24 07:51:52 UTC) #2
dmazzoni
Another idea: perhaps Blink should just compute isCollapsed and isExpanded correctly, and abstract whether or ...
6 years, 2 months ago (2014-10-24 07:56:14 UTC) #3
je_julie(Not used)
On 2014/10/24 07:56:14, dmazzoni wrote: > Another idea: perhaps Blink should just compute isCollapsed and ...
6 years, 2 months ago (2014-10-24 08:49:22 UTC) #4
je_julie(Not used)
Dominic, I updated patch to follow your review comment. BTW, as to discussion above, What ...
6 years, 2 months ago (2014-10-24 15:16:02 UTC) #5
dmazzoni
On 2014/10/24 08:49:22, je_julie wrote: > On 2014/10/24 07:56:14, dmazzoni wrote: > > Another idea: ...
6 years, 2 months ago (2014-10-24 15:39:39 UTC) #6
je_julie(Not used)
On 2014/10/24 15:39:39, dmazzoni wrote: > enum WebAXExpanded { > WebAXExpandedUndefined = 0, > WebAXExpandedCollapsed, ...
6 years, 1 month ago (2014-10-28 08:26:27 UTC) #7
dmazzoni
Enum looks great https://codereview.chromium.org/679623002/diff/40001/Source/core/accessibility/AXMenuList.cpp File Source/core/accessibility/AXMenuList.cpp (right): https://codereview.chromium.org/679623002/diff/40001/Source/core/accessibility/AXMenuList.cpp#newcode92 Source/core/accessibility/AXMenuList.cpp:92: AccessibilityExpanded expanded = getExpandedAttr(); The ARIA ...
6 years, 1 month ago (2014-10-29 07:46:59 UTC) #8
je_julie(Not used)
Dominic, I updated patch to follow your comment. PTAL. https://codereview.chromium.org/679623002/diff/40001/Source/core/accessibility/AXMenuList.cpp File Source/core/accessibility/AXMenuList.cpp (right): https://codereview.chromium.org/679623002/diff/40001/Source/core/accessibility/AXMenuList.cpp#newcode92 Source/core/accessibility/AXMenuList.cpp:92: ...
6 years, 1 month ago (2014-10-29 13:07:27 UTC) #9
dmazzoni
lgtm +dglazkov for OWNERS review https://codereview.chromium.org/679623002/diff/60001/public/web/WebAXEnums.h File public/web/WebAXEnums.h (right): https://codereview.chromium.org/679623002/diff/60001/public/web/WebAXEnums.h#newcode235 public/web/WebAXEnums.h:235: // values for aria-expanded ...
6 years, 1 month ago (2014-10-29 15:20:52 UTC) #11
Mike West
Source/web and public/web LGTM % one big comment. Please add the compile assert before landing ...
6 years, 1 month ago (2014-10-29 15:25:05 UTC) #13
je_julie(Not used)
Hi Mike and Dominic, I updated patchset adding compile assert. Now, can I land it? ...
6 years, 1 month ago (2014-10-30 03:27:19 UTC) #14
dmazzoni
lgtm AssertMatchingEnums lgtm
6 years, 1 month ago (2014-10-30 05:36:13 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/679623002/80001
6 years, 1 month ago (2014-10-30 05:37:37 UTC) #17
commit-bot: I haz the power
6 years, 1 month ago (2014-10-30 06:52:49 UTC) #18
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as 184621

Powered by Google App Engine
This is Rietveld 408576698