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

Issue 184103036: Follow ARIA spec guidelines for role=button with aria-pressed. (Closed)

Created:
6 years, 9 months ago by aboxhall
Modified:
6 years, 9 months ago
CC:
chromium-reviews, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, jam, yuzo+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org
Visibility:
Public.

Description

Follow ARIA spec guidelines for role=button with aria-pressed. BUG=349626 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255584

Patch Set 1 #

Patch Set 2 : Remove unnecessary lines from value method #

Patch Set 3 : Remove unused include of string_util.h in browser_accessibility_cocoa.mm #

Total comments: 4

Patch Set 4 : Camel case, trailing space, re-ordering check, checking for toggle button role in role() #

Patch Set 5 : Trailing space for real #

Total comments: 6

Patch Set 6 : Fix togglebutton test and expectation on mac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -9 lines) Patch
M content/browser/accessibility/browser_accessibility_cocoa.mm View 1 2 3 5 chunks +28 lines, -1 line 0 comments Download
M content/test/data/accessibility/aria-pressed.html View 1 chunk +2 lines, -0 lines 0 comments Download
M content/test/data/accessibility/aria-pressed-expected-mac.txt View 1 chunk +6 lines, -5 lines 0 comments Download
M content/test/data/accessibility/togglebutton.html View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M content/test/data/accessibility/togglebutton-expected-mac.txt View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M webkit/glue/webkit_strings.grd View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
aboxhall
Not sure who the best reviewer is out of Dominic and David.
6 years, 9 months ago (2014-03-05 23:03:47 UTC) #1
aboxhall
+jamesr@ for webkit/glue strings
6 years, 9 months ago (2014-03-05 23:04:33 UTC) #2
jamesr
lgtm https://codereview.chromium.org/184103036/diff/40001/webkit/glue/webkit_strings.grd File webkit/glue/webkit_strings.grd (right): https://codereview.chromium.org/184103036/diff/40001/webkit/glue/webkit_strings.grd#newcode33 webkit/glue/webkit_strings.grd:33: * OF THIS SOFTWARE, EVEN IF ADVISED OF ...
6 years, 9 months ago (2014-03-06 05:53:57 UTC) #3
dmazzoni
lgtm https://codereview.chromium.org/184103036/diff/40001/content/browser/accessibility/browser_accessibility_cocoa.mm File content/browser/accessibility/browser_accessibility_cocoa.mm (right): https://codereview.chromium.org/184103036/diff/40001/content/browser/accessibility/browser_accessibility_cocoa.mm#newcode668 content/browser/accessibility/browser_accessibility_cocoa.mm:668: bool is_aria_pressed_defined; Nit: Obj-C files use camelCase for ...
6 years, 9 months ago (2014-03-06 06:09:09 UTC) #4
dmazzoni
For future reference: David's a better reviewer if you're doing anything nontrivial with Objective-C or ...
6 years, 9 months ago (2014-03-06 06:10:22 UTC) #5
aboxhall
https://codereview.chromium.org/184103036/diff/40001/webkit/glue/webkit_strings.grd File webkit/glue/webkit_strings.grd (right): https://codereview.chromium.org/184103036/diff/40001/webkit/glue/webkit_strings.grd#newcode33 webkit/glue/webkit_strings.grd:33: * OF THIS SOFTWARE, EVEN IF ADVISED OF THE ...
6 years, 9 months ago (2014-03-06 15:21:03 UTC) #6
aboxhall
https://codereview.chromium.org/184103036/diff/40001/content/browser/accessibility/browser_accessibility_cocoa.mm File content/browser/accessibility/browser_accessibility_cocoa.mm (right): https://codereview.chromium.org/184103036/diff/40001/content/browser/accessibility/browser_accessibility_cocoa.mm#newcode668 content/browser/accessibility/browser_accessibility_cocoa.mm:668: bool is_aria_pressed_defined; On 2014/03/06 06:09:09, dmazzoni wrote: > Nit: ...
6 years, 9 months ago (2014-03-06 17:45:58 UTC) #7
David Tseng
https://codereview.chromium.org/184103036/diff/80001/content/browser/accessibility/browser_accessibility_cocoa.mm File content/browser/accessibility/browser_accessibility_cocoa.mm (right): https://codereview.chromium.org/184103036/diff/80001/content/browser/accessibility/browser_accessibility_cocoa.mm#newcode209 content/browser/accessibility/browser_accessibility_cocoa.mm:209: { ui::AX_ROLE_TOGGLE_BUTTON, @"AXToggleButton" }, I would match whatever WebKit ...
6 years, 9 months ago (2014-03-06 18:15:17 UTC) #8
dmazzoni
On Thu, Mar 6, 2014 at 10:15 AM, <dtseng@chromium.org> wrote: > ui::AX_ROLE_TOGGLE_BUTTON, @"AXToggleButton" }, > ...
6 years, 9 months ago (2014-03-06 18:20:13 UTC) #9
aboxhall
https://codereview.chromium.org/184103036/diff/80001/content/browser/accessibility/browser_accessibility_cocoa.mm File content/browser/accessibility/browser_accessibility_cocoa.mm (right): https://codereview.chromium.org/184103036/diff/80001/content/browser/accessibility/browser_accessibility_cocoa.mm#newcode209 content/browser/accessibility/browser_accessibility_cocoa.mm:209: { ui::AX_ROLE_TOGGLE_BUTTON, @"AXToggleButton" }, On 2014/03/06 18:15:17, David Tseng ...
6 years, 9 months ago (2014-03-06 18:23:30 UTC) #10
David Tseng
https://codereview.chromium.org/184103036/diff/80001/content/browser/accessibility/browser_accessibility_cocoa.mm File content/browser/accessibility/browser_accessibility_cocoa.mm (right): https://codereview.chromium.org/184103036/diff/80001/content/browser/accessibility/browser_accessibility_cocoa.mm#newcode209 content/browser/accessibility/browser_accessibility_cocoa.mm:209: { ui::AX_ROLE_TOGGLE_BUTTON, @"AXToggleButton" }, On 2014/03/06 18:23:31, aboxhall wrote: ...
6 years, 9 months ago (2014-03-06 18:36:30 UTC) #11
aboxhall
On 2014/03/06 18:36:30, David Tseng wrote: > https://codereview.chromium.org/184103036/diff/80001/content/browser/accessibility/browser_accessibility_cocoa.mm > File content/browser/accessibility/browser_accessibility_cocoa.mm (right): > > https://codereview.chromium.org/184103036/diff/80001/content/browser/accessibility/browser_accessibility_cocoa.mm#newcode209 ...
6 years, 9 months ago (2014-03-06 19:25:10 UTC) #12
aboxhall
On 2014/03/06 19:25:10, aboxhall wrote: > On 2014/03/06 18:36:30, David Tseng wrote: > > > ...
6 years, 9 months ago (2014-03-06 19:27:00 UTC) #13
David Tseng
LGTM Not sure if that's the right thing to say, but it can make sense ...
6 years, 9 months ago (2014-03-06 23:02:42 UTC) #14
aboxhall
On 2014/03/06 23:02:42, David Tseng wrote: > LGTM > > > Not sure if that's ...
6 years, 9 months ago (2014-03-06 23:08:25 UTC) #15
aboxhall
The CQ bit was checked by aboxhall@chromium.org
6 years, 9 months ago (2014-03-06 23:08:58 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aboxhall@chromium.org/184103036/100001
6 years, 9 months ago (2014-03-06 23:12:54 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 00:59:15 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel
6 years, 9 months ago (2014-03-07 00:59:17 UTC) #19
aboxhall
The CQ bit was checked by aboxhall@chromium.org
6 years, 9 months ago (2014-03-07 01:13:23 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aboxhall@chromium.org/184103036/100001
6 years, 9 months ago (2014-03-07 01:45:42 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 04:18:49 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg
6 years, 9 months ago (2014-03-07 04:18:50 UTC) #23
aboxhall
The CQ bit was checked by aboxhall@chromium.org
6 years, 9 months ago (2014-03-07 04:22:19 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aboxhall@chromium.org/184103036/100001
6 years, 9 months ago (2014-03-07 04:24:22 UTC) #25
David Tseng
I filed radar 16257881. On Thu, Mar 6, 2014 at 8:24 PM, <commit-bot@chromium.org> wrote: > ...
6 years, 9 months ago (2014-03-07 05:41:33 UTC) #26
commit-bot: I haz the power
6 years, 9 months ago (2014-03-07 11:36:45 UTC) #27
Message was sent while issue was closed.
Change committed as 255584

Powered by Google App Engine
This is Rietveld 408576698