haikuwebkit/LayoutTests/accessibility/mac/draggable-expected.txt

22 lines
701 B
Plaintext
Raw Permalink Normal View History

AX: Implement accessibility of HTML 5.1 Drag & Drop https://bugs.webkit.org/show_bug.cgi?id=211415 <rdar://problem/22695531> Reviewed by Joanmarie Diggs. Source/WebCore: Support HTML5 drag and drop. Support dropzone attribute. Add new notifications for VoiceOver to consume. It appears that most of the dragging tests are skipped because of eventSender issues. I think this test could do a little more if those issues were resolved. Specifically, not all the notifications are seen that are expected. Test: accessibility/mac/draggable.html * accessibility/AXObjectCache.h: * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::supportsARIAAttributes const): (WebCore::AccessibilityObject::isAXHidden const): * accessibility/AccessibilityObject.h: * accessibility/AccessibilityObjectInterface.h: * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::supportsDropping const): (WebCore::AccessibilityRenderObject::supportsDragging const): (WebCore::AccessibilityRenderObject::isGrabbed): (WebCore::AccessibilityRenderObject::determineDropEffects): (WebCore::AccessibilityRenderObject::supportsARIADropping const): Deleted. (WebCore::AccessibilityRenderObject::supportsARIADragging const): Deleted. (WebCore::AccessibilityRenderObject::isARIAGrabbed): Deleted. (WebCore::AccessibilityRenderObject::determineARIADropEffects): Deleted. * accessibility/AccessibilityRenderObject.h: * accessibility/isolatedtree/AXIsolatedObject.cpp: (WebCore::AXIsolatedObject::initializeAttributeData): * accessibility/isolatedtree/AXIsolatedObject.h: * accessibility/mac/AXObjectCacheMac.mm: (WebCore::AXObjectCache::postPlatformNotification): * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: (-[WebAccessibilityObjectWrapper additionalAccessibilityAttributeNames]): (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]): * html/HTMLAttributeNames.in: * page/EventHandler.cpp: (WebCore::EventHandler::dispatchDragEvent): (WebCore::EventHandler::draggingElement const): * page/EventHandler.h: LayoutTests: * accessibility/mac/draggable-expected.txt: Added. * accessibility/mac/draggable.html: Added. Canonical link: https://commits.webkit.org/224421@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-05-06 20:11:39 +00:00
This test checks various accessibility attributes and notifications are handled for dragging operations.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Drop the red square onto me.
Items that can be dragged to the drop target:
Square
PASS accessibilityController.accessibleElementById('dragMe').isAttributeSupported('AXGrabbed') is true
PASS accessibilityController.accessibleElementById('dropTarget').isAttributeSupported('AXGrabbed') is false
Target is grabbed: 0
Dropzone effects: copy
Target is grabbed during drag: 1
Target is grabbed after drag: 1
AXDraggingSourceDragBegan
AXDraggingDestinationDropAllowed
PASS successfullyParsed is true
TEST COMPLETE