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

Issue 1088853003: Implements determineAccessibilityRole() instead of roleValue() (Closed)

Created:
5 years, 8 months ago by je_julie(Not used)
Modified:
5 years, 8 months ago
Reviewers:
dmazzoni
CC:
blink-reviews, nektarios, dmazzoni, je_julie(Not used), aboxhall
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Implements determineAccessibilityRole() instead of roleValue() This patch removes roleValue() from the child classes of AXLayoutObject and implements determineAccessibilityRole(). It is called at AXNodeObject::init() and AXNodeObject::updateAccessibilityRole() and decides the proper AX roles. The child classes of AXLayoutObject set the role using it and AXObject::roleValue() is called naturally to get that role. BUG=467434 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=193783

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -25 lines) Patch
M Source/modules/accessibility/AXListBox.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXListBox.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/modules/accessibility/AXListBoxOption.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXListBoxOption.cpp View 1 chunk +3 lines, -4 lines 0 comments Download
M Source/modules/accessibility/AXMenuList.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXMenuList.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/modules/accessibility/AXProgressIndicator.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXProgressIndicator.cpp View 1 chunk +3 lines, -4 lines 0 comments Download
M Source/modules/accessibility/AXSlider.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXSlider.cpp View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
je_julie(Not used)
Hi Dominic, This patch removes roleValue() from - AXSlider - AXProgressIndicator - AXMenuList - AXListBoxOption ...
5 years, 8 months ago (2015-04-14 23:22:45 UTC) #2
dmazzoni
lgtm I agree, it makes more sense to override determineAccessibilityRole. Thanks!
5 years, 8 months ago (2015-04-15 06:23:58 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1088853003/1
5 years, 8 months ago (2015-04-15 09:34:02 UTC) #5
commit-bot: I haz the power
5 years, 8 months ago (2015-04-15 11:38:04 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=193783

Powered by Google App Engine
This is Rietveld 408576698