Changeset 206190 in webkit
- Timestamp:
- Sep 20, 2016 5:27:38 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r206188 r206190 1 2016-09-20 Nan Wang <n_wang@apple.com> 2 3 AX: AppleVisUser: VO can't navigate web dialogs iOS10 4 https://bugs.webkit.org/show_bug.cgi?id=162322 5 6 Reviewed by Chris Fleizach. 7 8 * accessibility/ios-simulator/dialog-did-become-focused-expected.txt: Added. 9 * accessibility/ios-simulator/dialog-did-become-focused.html: Added. 10 1 11 2016-09-20 Zalan Bujtas <zalan@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r206189 r206190 1 2016-09-20 Nan Wang <n_wang@apple.com> 2 3 AX: AppleVisUser: VO can't navigate web dialogs iOS10 4 https://bugs.webkit.org/show_bug.cgi?id=162322 5 6 Reviewed by Chris Fleizach. 7 8 When using VoiceOver to navigate a web dialog's children, we were setting focus 9 onto the focusable parent in accessibilityElementDidBecomeFocused. When the focusable 10 parent is the dialog, it will cause the VO cursor jumping back and forward. Fixed it 11 by not setting focus on web dialogs in such case. 12 13 Test: accessibility/ios-simulator/dialog-did-become-focused.html 14 15 * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm: 16 (-[WebAccessibilityObjectWrapper accessibilityElementDidBecomeFocused]): 17 1 18 2016-09-20 Keith Rollin <krollin@apple.com> 2 19 -
trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm
r206170 r206190 1892 1892 if ([self detailParentForObject:object]) 1893 1893 break; 1894 1895 // webkit.org/b/162322 When a dialog is focusable, allowing focusing onto the dialog node will cause VO cursor jumping 1896 // back and forward while navigating its children. 1897 if ([object->wrapper() accessibilityIsDialog]) 1898 break; 1899 1894 1900 object->setFocused(true); 1895 1901 break;
Note: See TracChangeset
for help on using the changeset viewer.