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

Issue 2072503002: Correctly fire active descendant changes for more roles

Created:
4 years, 6 months ago by David Tseng
Modified:
4 years, 3 months ago
Reviewers:
dmazzoni
CC:
dmazzoni, aboxhall, aboxhall+watch_chromium.org, arv+watch_chromium.org, blink-reviews, chromium-reviews, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, haraken, je_julie, nektar+watch_chromium.org, oshima+watch_chromium.org, yuzo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Correctly fire active descendant changes for more roles 1. Use roleValue rather than ariaRoleAttribute when checking which roles support active descendant. The method itself should probably be named supportsOnActiveDescendantChangedEvent since the active descendant was still being exposed for popUpButton. 2. add popUpButtonRole to the supported list. As a result of 1 and 2, <button aria-haspopup="true"></button> <div role="button" aria-haspopup="true"</div> both work. TEST=chromevox_tests --gtest_filter=BackgroundTest.ActiveDescendant* CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation

Patch Set 1 #

Total comments: 1

Patch Set 2 : m #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -4 lines) Patch
M chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs View 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js View 1 4 chunks +10 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObject.cpp View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 19 (11 generated)
David Tseng
4 years, 6 months ago (2016-06-15 17:37:55 UTC) #4
dmazzoni
lgtm but it looks like you have the menuitemcheckbox patch in here too https://codereview.chromium.org/2072503002/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js File ...
4 years, 6 months ago (2016-06-15 19:15:07 UTC) #5
David Tseng
On 2016/06/15 19:15:07, dmazzoni wrote: > lgtm but it looks like you have the menuitemcheckbox ...
4 years, 6 months ago (2016-06-15 20:12:05 UTC) #6
dmazzoni
lgtm
4 years, 3 months ago (2016-08-22 19:23:56 UTC) #15
nektarios
Sorry but I am not sure about this. Could we have another look? The PopupButtonRole ...
4 years, 3 months ago (2016-08-23 15:21:49 UTC) #16
nektarios
BTW, I think the bug that prompted this change is an issue with Drive's New ...
4 years, 3 months ago (2016-08-23 15:24:55 UTC) #17
David Tseng
Which platform? It didn't work on Mac or Chrome OS. Regardless, we should be firing ...
4 years, 3 months ago (2016-08-23 18:37:52 UTC) #18
David Tseng
4 years, 3 months ago (2016-08-23 18:37:53 UTC) #19
Which platform? It didn't work on Mac or Chrome OS. Regardless, we should
be firing the event whereever we allow an active descendant to be set. That
list is more than a node with an aria role.
On Tue, Aug 23, 2016 at 8:24 AM <nektar@chromium.org> wrote:

> BTW, I think the bug that prompted this change is an issue with Drive's New
> popup menu that wasn't working?
> I tested it just now and it seems to work. Perhaps another change fixed it
> already.
>
>
> https://codereview.chromium.org/2072503002/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Chromium-reviews" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to chromium-reviews+unsubscribe@chromium.org.
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698