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

Issue 10823073: Improve accessible name calculation on Windows. (Closed)

Created:
8 years, 4 months ago by dmazzoni
Modified:
8 years, 4 months ago
Reviewers:
David Tseng, aboxhall
CC:
chromium-reviews, hashimoto+watch_chromium.org, aboxhall+watch_chromium.org, yoshiki+watch_chromium.org, jam, yuzo+watch_chromium.org, davidbarr+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, ctguil+watch_chromium.org, zork+watch_chromium.org, David Tseng
Visibility:
Public.

Description

Improve accessible name calculation on Windows. This depends on: http://codereview.chromium.org/10662003/ Based on the HTML to Platform Accessibility APIs Implementation Guide (http://www.w3.org/TR/html-aapi/), add some new tests to assert the correct behavior for computing the text alternative for a checkbox, button, and text field, then fix the implementation to match the test. BUG=124314 TBR=dtseng Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=150070

Patch Set 1 #

Patch Set 2 : Remove unintentionally modified file #

Total comments: 18

Patch Set 3 : Added line numbers for clarity and fixed one broken test. #

Patch Set 4 : Got rid of placeholder logic, improved comments. #

Patch Set 5 : Add back aria-describedby test #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -8 lines) Patch
M content/browser/accessibility/browser_accessibility_win.cc View 1 2 3 3 chunks +75 lines, -9 lines 0 comments Download
M content/browser/accessibility/dump_accessibility_tree_browsertest.cc View 1 2 3 4 5 3 chunks +15 lines, -0 lines 0 comments Download
M content/browser/accessibility/dump_accessibility_tree_helper.cc View 2 chunks +6 lines, -1 line 0 comments Download
M content/browser/accessibility/dump_accessibility_tree_helper_win.cc View 1 chunk +3 lines, -1 line 0 comments Download
A content/test/data/accessibility/button-name-calc.html View 1 2 1 chunk +22 lines, -0 lines 0 comments Download
A + content/test/data/accessibility/button-name-calc-expected-mac.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
A content/test/data/accessibility/button-name-calc-expected-win.txt View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
A content/test/data/accessibility/checkbox-name-calc.html View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A + content/test/data/accessibility/checkbox-name-calc-expected-mac.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
A content/test/data/accessibility/checkbox-name-calc-expected-win.txt View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
A content/test/data/accessibility/input-text-name-calc.html View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download
A + content/test/data/accessibility/input-text-name-calc-expected-mac.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
A content/test/data/accessibility/input-text-name-calc-expected-win.txt View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
dmazzoni
Alice, could you do the primary review for this? In particular I'd appreciate it if ...
8 years, 4 months ago (2012-07-30 07:37:30 UTC) #1
aboxhall
I've tried to review the tests as closely as possible, although as a suggestion I ...
8 years, 4 months ago (2012-08-01 01:56:56 UTC) #2
dmazzoni
On 2012/08/01 01:56:56, aboxhall wrote: > I've tried to review the tests as closely as ...
8 years, 4 months ago (2012-08-01 03:22:33 UTC) #3
dmazzoni
http://codereview.chromium.org/10823073/diff/2001/content/test/data/accessibility/button-name-calc-expected-win.txt File content/test/data/accessibility/button-name-calc-expected-win.txt (right): http://codereview.chromium.org/10823073/diff/2001/content/test/data/accessibility/button-name-calc-expected-win.txt#newcode4 content/test/data/accessibility/button-name-calc-expected-win.txt:4: ROLE_SYSTEM_PUSHBUTTON name='InnerText' FOCUSABLE description='Title' On 2012/08/01 01:56:57, aboxhall wrote: ...
8 years, 4 months ago (2012-08-01 03:22:41 UTC) #4
dmazzoni
Ready for another look? On 2012/08/01 01:56:56, aboxhall wrote: > I've tried to review the ...
8 years, 4 months ago (2012-08-04 06:34:05 UTC) #5
aboxhall
Thanks for adding the line numbers, that helps. Sorry this took so long; we had ...
8 years, 4 months ago (2012-08-06 01:55:49 UTC) #6
dmazzoni
On 2012/08/06 01:55:49, aboxhall wrote: > Thanks for adding the line numbers, that helps. Great! ...
8 years, 4 months ago (2012-08-06 05:56:02 UTC) #7
aboxhall
LGTM Please put the aria-describedby test cases back in input-text-name-calc as discussed :)
8 years, 4 months ago (2012-08-06 06:11:53 UTC) #8
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
8 years, 4 months ago (2012-08-06 06:55:36 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/10823073/8017
8 years, 4 months ago (2012-08-06 06:59:17 UTC) #10
commit-bot: I haz the power
Try job failure for 10823073-8017 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-06 07:22:22 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/10823073/8017
8 years, 4 months ago (2012-08-06 07:54:11 UTC) #12
commit-bot: I haz the power
8 years, 4 months ago (2012-08-06 08:13:59 UTC) #13
Try job failure for 10823073-8017 (retry) on win_rel for step "compile" (clobber
build).
It's a second try, previously, step "compile" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698