Chromium Code Reviews
DescriptionCorrectly 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 #
Messages
Total messages: 19 (11 generated)
|
|||||||||||||||||||||||||||||||||||||