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

Issue 10911287: Make spin button accessible on Mac. (Closed)

Created:
8 years, 3 months ago by dmazzoni
Modified:
8 years, 3 months ago
Reviewers:
tony, David Tseng
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
Visibility:
Public.

Description

Make spin button accessible on Mac. I mapped a spin button to a vertical slider, which causes VoiceOver to expect the appropriate range attributes - and then gave it a role description of "spin button" and an orientation of "vertical", so hopefully users will be able to figure it out. I also filled in the remaining range attributes that weren't implemented yet, which also improves sliders, scroll bars, and progress bars. BUG=130430 TEST=Visit a webpage with an ARIA spinbutton with VoiceOver on. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=156881

Patch Set 1 #

Total comments: 7

Patch Set 2 : Change accessible name on mac to "stepper" #

Patch Set 3 : Rebase #

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

Messages

Total messages: 10 (0 generated)
dmazzoni
dtseng: review (should be quick) tony: OWNERS approval for new string in webkit/glue
8 years, 3 months ago (2012-09-13 16:44:25 UTC) #1
tony
webkit LGTM
8 years, 3 months ago (2012-09-13 18:25:49 UTC) #2
David Tseng
http://codereview.chromium.org/10911287/diff/1/content/browser/accessibility/browser_accessibility_cocoa.mm File content/browser/accessibility/browser_accessibility_cocoa.mm (right): http://codereview.chromium.org/10911287/diff/1/content/browser/accessibility/browser_accessibility_cocoa.mm#newcode152 content/browser/accessibility/browser_accessibility_cocoa.mm:152: { AccessibilityNodeData::ROLE_SPIN_BUTTON, NSAccessibilitySliderRole }, I think we actually want ...
8 years, 3 months ago (2012-09-13 19:00:57 UTC) #3
dmazzoni
http://codereview.chromium.org/10911287/diff/1/content/browser/accessibility/browser_accessibility_cocoa.mm File content/browser/accessibility/browser_accessibility_cocoa.mm (right): http://codereview.chromium.org/10911287/diff/1/content/browser/accessibility/browser_accessibility_cocoa.mm#newcode152 content/browser/accessibility/browser_accessibility_cocoa.mm:152: { AccessibilityNodeData::ROLE_SPIN_BUTTON, NSAccessibilitySliderRole }, On 2012/09/13 19:00:57, David Tseng ...
8 years, 3 months ago (2012-09-13 19:32:29 UTC) #4
David Tseng
http://codereview.chromium.org/10911287/diff/1/content/browser/accessibility/browser_accessibility_cocoa.mm File content/browser/accessibility/browser_accessibility_cocoa.mm (right): http://codereview.chromium.org/10911287/diff/1/content/browser/accessibility/browser_accessibility_cocoa.mm#newcode152 content/browser/accessibility/browser_accessibility_cocoa.mm:152: { AccessibilityNodeData::ROLE_SPIN_BUTTON, NSAccessibilitySliderRole }, On 2012/09/13 19:32:29, Dominic Mazzoni ...
8 years, 3 months ago (2012-09-13 22:00:28 UTC) #5
David Tseng
lgtm Considering that this is probably a fix before further work from the wg's comes ...
8 years, 3 months ago (2012-09-13 22:07:04 UTC) #6
dmazzoni
On 2012/09/13 22:00:28, David Tseng wrote: > Can we at least call it something more ...
8 years, 3 months ago (2012-09-13 22:22:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/10911287/2002
8 years, 3 months ago (2012-09-14 07:42:07 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/10911287/11001
8 years, 3 months ago (2012-09-14 18:52:28 UTC) #9
commit-bot: I haz the power
8 years, 3 months ago (2012-09-14 20:48:05 UTC) #10
Change committed as 156881

Powered by Google App Engine
This is Rietveld 408576698