Chromium Code Reviews
DescriptionMacViews a11y: Allow accessibility clients to set the AXValue on some controls.
Cocoa controls allow accessibility clients to set specific values on user input
controls via accessibility clients. This doesn't yet work for MacViews controls.
This CL adds support for writable ui::AX_VALUE attributes on MacViews.
BUG=610591
TEST=Open the XCode 'Accessibility Inspector' and hover the mouse over the
omnibox (for example). Press Cmd+F7 to lock onto the omnibox. Find the
'accessibilityValue' entry in the inspector (it should have a '(W)' next to
it to indicate it's writable). Click it and at the bottom of the inspector has a
textbox to edit the value. Edit and confirm, the text in the omnibox should be
updated.
Committed: https://crrev.com/0fa98f7891c47f1f942e3e584fc64227ebf65500
Cr-Commit-Position: refs/heads/master@{#412120}
Patch Set 1 #Patch Set 2 : Don't show attributes are writable if there is not callback provided to change its value. #
Total comments: 18
Patch Set 3 : Get rid of array, move READ_ONLY checks to callback. #
Total comments: 12
Patch Set 4 : Don't say attributes are settable until implemented. #
Messages
Total messages: 26 (17 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||