Changeset 201774 in webkit
- Timestamp:
- Jun 7, 2016 3:45:53 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r201771 r201774 1 2016-06-07 Chris Fleizach <cfleizach@apple.com> 2 3 AX: iOS: Need to expose whether object is a dialog element 4 https://bugs.webkit.org/show_bug.cgi?id=158487 5 <rdar://problem/26678218> 6 7 Reviewed by Joanmarie Diggs. 8 9 Expose whether an object is a dialog type. This will allow decisions higher up the stack to be made in regards to where to move VoiceOver focus. 10 11 * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm: 12 (-[WebAccessibilityObjectWrapper accessibilityIsDialog]): 13 1 14 2016-06-07 Alex Christensen <achristensen@webkit.org> 2 15 -
trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm
r201585 r201774 500 500 501 501 return m_object->language(); 502 } 503 504 - (BOOL)accessibilityIsDialog 505 { 506 if (![self _prepareAccessibilityCall]) 507 return NO; 508 509 AccessibilityRole roleValue = m_object->roleValue(); 510 return roleValue == ApplicationDialogRole || roleValue == ApplicationAlertDialogRole; 502 511 } 503 512
Note: See TracChangeset
for help on using the changeset viewer.