DescriptionMac: Add accessibility attributes for textfields, and AXEnabled for all views.
This change adds support for the following NSAccessibility attributes:
NSAccessibilityEnabledAttribute
NSAccessibilityFocusedAttribute
NSAccessibilityInsertionPointLineNumberAttribute
NSAccessibilityNumberOfCharactersAttribute
NSAccessibilityPlaceholderValue
NSAccessibilitySelectedTextAttribute
NSAccessibilitySelectedTextrangeAttribute
NSAccessibilityVisibleCharacterRangeAttribute
ui::AX_ATTR_PLACEHOLDER was also not used outside of Blink, so support this
attribute as well.
Add tests for all of these attributes and plumb through textfield change
notifications for ui::AX_EVENT_TEXT_CHANGED, ui::AX_EVENT_VALUE_CHANGED, and
ui::AX_EVENT_TEXT_SELECTION_CHANGED.
BUG=610591
Committed: https://crrev.com/c32a66d5bf5de90e99d220dafe3fff471419343c
Cr-Commit-Position: refs/heads/master@{#403370}
Patch Set 1 #Patch Set 2 : Rebase onto master. #Patch Set 3 : Typo. #
Total comments: 8
Patch Set 4 : Remove focused attribute, other review comments. #
Total comments: 8
Patch Set 5 : Address review comments. #
Messages
Total messages: 15 (7 generated)
|