haikuwebkit/LayoutTests/accessibility/aria-modal-expected.txt

39 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

AX: Add support for ARIA 1.1 attribute 'aria-modal' for dialog and alertdialog https://bugs.webkit.org/show_bug.cgi?id=138566 Reviewed by Chris Fleizach. Source/WebCore: Added support for aria-modal attribute on dialog/alertdialog roles. When modal dialog is displayed, all other contents will be unaccessible. Tests: accessibility/aria-modal-multiple-dialogs.html accessibility/aria-modal.html * accessibility/AXObjectCache.cpp: (WebCore::AXObjectCache::AXObjectCache): (WebCore::AXObjectCache::~AXObjectCache): (WebCore::AXObjectCache::findAriaModalNodes): (WebCore::AXObjectCache::updateCurrentAriaModalNode): (WebCore::AXObjectCache::isNodeVisible): (WebCore::AXObjectCache::ariaModalNode): (WebCore::AXObjectCache::focusedImageMapUIElement): (WebCore::AXObjectCache::remove): (WebCore::AXObjectCache::handleAttributeChanged): (WebCore::AXObjectCache::handleAriaModalChange): (WebCore::AXObjectCache::labelChanged): * accessibility/AXObjectCache.h: (WebCore::AXObjectCache::handleActiveDescendantChanged): (WebCore::AXObjectCache::handleAriaExpandedChange): (WebCore::AXObjectCache::handleAriaRoleChanged): (WebCore::AXObjectCache::handleAriaModalChange): (WebCore::AXObjectCache::handleFocusedUIElementChanged): (WebCore::AXObjectCache::handleScrollbarUpdate): (WebCore::AXObjectCache::handleAttributeChanged): * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::ariaCurrentState): (WebCore::AccessibilityObject::isAriaModalDescendant): (WebCore::AccessibilityObject::ignoredFromARIAModalPresence): (WebCore::AccessibilityObject::hasTagName): (WebCore::AccessibilityObject::defaultObjectInclusion): * accessibility/AccessibilityObject.h: * html/HTMLAttributeNames.in: LayoutTests: * accessibility/aria-modal-expected.txt: Added. * accessibility/aria-modal-multiple-dialogs-expected.txt: Added. * accessibility/aria-modal-multiple-dialogs.html: Added. * accessibility/aria-modal.html: Added. Canonical link: https://commits.webkit.org/169020@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-11-03 01:52:38 +00:00
This tests that aria-modal on dialog makes other elements inert.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Dialog is displaying
AX: Add support for ARIA 1.1 attribute 'aria-modal' for dialog and alertdialog https://bugs.webkit.org/show_bug.cgi?id=138566 Reviewed by Chris Fleizach. Source/WebCore: Added support for aria-modal attribute on dialog/alertdialog roles. When modal dialog is displayed, all other contents will be unaccessible. Tests: accessibility/aria-modal-multiple-dialogs.html accessibility/aria-modal.html * accessibility/AXObjectCache.cpp: (WebCore::AXObjectCache::AXObjectCache): (WebCore::AXObjectCache::~AXObjectCache): (WebCore::AXObjectCache::findAriaModalNodes): (WebCore::AXObjectCache::updateCurrentAriaModalNode): (WebCore::AXObjectCache::isNodeVisible): (WebCore::AXObjectCache::ariaModalNode): (WebCore::AXObjectCache::focusedImageMapUIElement): (WebCore::AXObjectCache::remove): (WebCore::AXObjectCache::handleAttributeChanged): (WebCore::AXObjectCache::handleAriaModalChange): (WebCore::AXObjectCache::labelChanged): * accessibility/AXObjectCache.h: (WebCore::AXObjectCache::handleActiveDescendantChanged): (WebCore::AXObjectCache::handleAriaExpandedChange): (WebCore::AXObjectCache::handleAriaRoleChanged): (WebCore::AXObjectCache::handleAriaModalChange): (WebCore::AXObjectCache::handleFocusedUIElementChanged): (WebCore::AXObjectCache::handleScrollbarUpdate): (WebCore::AXObjectCache::handleAttributeChanged): * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::ariaCurrentState): (WebCore::AccessibilityObject::isAriaModalDescendant): (WebCore::AccessibilityObject::ignoredFromARIAModalPresence): (WebCore::AccessibilityObject::hasTagName): (WebCore::AccessibilityObject::defaultObjectInclusion): * accessibility/AccessibilityObject.h: * html/HTMLAttributeNames.in: LayoutTests: * accessibility/aria-modal-expected.txt: Added. * accessibility/aria-modal-multiple-dialogs-expected.txt: Added. * accessibility/aria-modal-multiple-dialogs.html: Added. * accessibility/aria-modal.html: Added. Canonical link: https://commits.webkit.org/169020@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-11-03 01:52:38 +00:00
PASS backgroundAccessible() is false
Dialog is not displaying
AX: Add support for ARIA 1.1 attribute 'aria-modal' for dialog and alertdialog https://bugs.webkit.org/show_bug.cgi?id=138566 Reviewed by Chris Fleizach. Source/WebCore: Added support for aria-modal attribute on dialog/alertdialog roles. When modal dialog is displayed, all other contents will be unaccessible. Tests: accessibility/aria-modal-multiple-dialogs.html accessibility/aria-modal.html * accessibility/AXObjectCache.cpp: (WebCore::AXObjectCache::AXObjectCache): (WebCore::AXObjectCache::~AXObjectCache): (WebCore::AXObjectCache::findAriaModalNodes): (WebCore::AXObjectCache::updateCurrentAriaModalNode): (WebCore::AXObjectCache::isNodeVisible): (WebCore::AXObjectCache::ariaModalNode): (WebCore::AXObjectCache::focusedImageMapUIElement): (WebCore::AXObjectCache::remove): (WebCore::AXObjectCache::handleAttributeChanged): (WebCore::AXObjectCache::handleAriaModalChange): (WebCore::AXObjectCache::labelChanged): * accessibility/AXObjectCache.h: (WebCore::AXObjectCache::handleActiveDescendantChanged): (WebCore::AXObjectCache::handleAriaExpandedChange): (WebCore::AXObjectCache::handleAriaRoleChanged): (WebCore::AXObjectCache::handleAriaModalChange): (WebCore::AXObjectCache::handleFocusedUIElementChanged): (WebCore::AXObjectCache::handleScrollbarUpdate): (WebCore::AXObjectCache::handleAttributeChanged): * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::ariaCurrentState): (WebCore::AccessibilityObject::isAriaModalDescendant): (WebCore::AccessibilityObject::ignoredFromARIAModalPresence): (WebCore::AccessibilityObject::hasTagName): (WebCore::AccessibilityObject::defaultObjectInclusion): * accessibility/AccessibilityObject.h: * html/HTMLAttributeNames.in: LayoutTests: * accessibility/aria-modal-expected.txt: Added. * accessibility/aria-modal-multiple-dialogs-expected.txt: Added. * accessibility/aria-modal-multiple-dialogs.html: Added. * accessibility/aria-modal.html: Added. Canonical link: https://commits.webkit.org/169020@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-11-03 01:52:38 +00:00
PASS backgroundAccessible() is true
Dialog is displaying
AX: Add support for ARIA 1.1 attribute 'aria-modal' for dialog and alertdialog https://bugs.webkit.org/show_bug.cgi?id=138566 Reviewed by Chris Fleizach. Source/WebCore: Added support for aria-modal attribute on dialog/alertdialog roles. When modal dialog is displayed, all other contents will be unaccessible. Tests: accessibility/aria-modal-multiple-dialogs.html accessibility/aria-modal.html * accessibility/AXObjectCache.cpp: (WebCore::AXObjectCache::AXObjectCache): (WebCore::AXObjectCache::~AXObjectCache): (WebCore::AXObjectCache::findAriaModalNodes): (WebCore::AXObjectCache::updateCurrentAriaModalNode): (WebCore::AXObjectCache::isNodeVisible): (WebCore::AXObjectCache::ariaModalNode): (WebCore::AXObjectCache::focusedImageMapUIElement): (WebCore::AXObjectCache::remove): (WebCore::AXObjectCache::handleAttributeChanged): (WebCore::AXObjectCache::handleAriaModalChange): (WebCore::AXObjectCache::labelChanged): * accessibility/AXObjectCache.h: (WebCore::AXObjectCache::handleActiveDescendantChanged): (WebCore::AXObjectCache::handleAriaExpandedChange): (WebCore::AXObjectCache::handleAriaRoleChanged): (WebCore::AXObjectCache::handleAriaModalChange): (WebCore::AXObjectCache::handleFocusedUIElementChanged): (WebCore::AXObjectCache::handleScrollbarUpdate): (WebCore::AXObjectCache::handleAttributeChanged): * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::ariaCurrentState): (WebCore::AccessibilityObject::isAriaModalDescendant): (WebCore::AccessibilityObject::ignoredFromARIAModalPresence): (WebCore::AccessibilityObject::hasTagName): (WebCore::AccessibilityObject::defaultObjectInclusion): * accessibility/AccessibilityObject.h: * html/HTMLAttributeNames.in: LayoutTests: * accessibility/aria-modal-expected.txt: Added. * accessibility/aria-modal-multiple-dialogs-expected.txt: Added. * accessibility/aria-modal-multiple-dialogs.html: Added. * accessibility/aria-modal.html: Added. Canonical link: https://commits.webkit.org/169020@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-11-03 01:52:38 +00:00
PASS backgroundAccessible() is false
PASS okButton.isIgnored is false
Dialog is not displaying and aria-modal=true
AX: Add support for ARIA 1.1 attribute 'aria-modal' for dialog and alertdialog https://bugs.webkit.org/show_bug.cgi?id=138566 Reviewed by Chris Fleizach. Source/WebCore: Added support for aria-modal attribute on dialog/alertdialog roles. When modal dialog is displayed, all other contents will be unaccessible. Tests: accessibility/aria-modal-multiple-dialogs.html accessibility/aria-modal.html * accessibility/AXObjectCache.cpp: (WebCore::AXObjectCache::AXObjectCache): (WebCore::AXObjectCache::~AXObjectCache): (WebCore::AXObjectCache::findAriaModalNodes): (WebCore::AXObjectCache::updateCurrentAriaModalNode): (WebCore::AXObjectCache::isNodeVisible): (WebCore::AXObjectCache::ariaModalNode): (WebCore::AXObjectCache::focusedImageMapUIElement): (WebCore::AXObjectCache::remove): (WebCore::AXObjectCache::handleAttributeChanged): (WebCore::AXObjectCache::handleAriaModalChange): (WebCore::AXObjectCache::labelChanged): * accessibility/AXObjectCache.h: (WebCore::AXObjectCache::handleActiveDescendantChanged): (WebCore::AXObjectCache::handleAriaExpandedChange): (WebCore::AXObjectCache::handleAriaRoleChanged): (WebCore::AXObjectCache::handleAriaModalChange): (WebCore::AXObjectCache::handleFocusedUIElementChanged): (WebCore::AXObjectCache::handleScrollbarUpdate): (WebCore::AXObjectCache::handleAttributeChanged): * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::ariaCurrentState): (WebCore::AccessibilityObject::isAriaModalDescendant): (WebCore::AccessibilityObject::ignoredFromARIAModalPresence): (WebCore::AccessibilityObject::hasTagName): (WebCore::AccessibilityObject::defaultObjectInclusion): * accessibility/AccessibilityObject.h: * html/HTMLAttributeNames.in: LayoutTests: * accessibility/aria-modal-expected.txt: Added. * accessibility/aria-modal-multiple-dialogs-expected.txt: Added. * accessibility/aria-modal-multiple-dialogs.html: Added. * accessibility/aria-modal.html: Added. Canonical link: https://commits.webkit.org/169020@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-11-03 01:52:38 +00:00
PASS backgroundAccessible() is true
Dialog is displaying
PASS backgroundAccessible() is false
Dialog is displaying and aria-hidden=true
PASS backgroundAccessible() is true
Dialog is displaying and aria-hidden=false
PASS backgroundAccessible() is false
Dialog is not displaying with opacity 0
AX: Add support for ARIA 1.1 attribute 'aria-modal' for dialog and alertdialog https://bugs.webkit.org/show_bug.cgi?id=138566 Reviewed by Chris Fleizach. Source/WebCore: Added support for aria-modal attribute on dialog/alertdialog roles. When modal dialog is displayed, all other contents will be unaccessible. Tests: accessibility/aria-modal-multiple-dialogs.html accessibility/aria-modal.html * accessibility/AXObjectCache.cpp: (WebCore::AXObjectCache::AXObjectCache): (WebCore::AXObjectCache::~AXObjectCache): (WebCore::AXObjectCache::findAriaModalNodes): (WebCore::AXObjectCache::updateCurrentAriaModalNode): (WebCore::AXObjectCache::isNodeVisible): (WebCore::AXObjectCache::ariaModalNode): (WebCore::AXObjectCache::focusedImageMapUIElement): (WebCore::AXObjectCache::remove): (WebCore::AXObjectCache::handleAttributeChanged): (WebCore::AXObjectCache::handleAriaModalChange): (WebCore::AXObjectCache::labelChanged): * accessibility/AXObjectCache.h: (WebCore::AXObjectCache::handleActiveDescendantChanged): (WebCore::AXObjectCache::handleAriaExpandedChange): (WebCore::AXObjectCache::handleAriaRoleChanged): (WebCore::AXObjectCache::handleAriaModalChange): (WebCore::AXObjectCache::handleFocusedUIElementChanged): (WebCore::AXObjectCache::handleScrollbarUpdate): (WebCore::AXObjectCache::handleAttributeChanged): * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::ariaCurrentState): (WebCore::AccessibilityObject::isAriaModalDescendant): (WebCore::AccessibilityObject::ignoredFromARIAModalPresence): (WebCore::AccessibilityObject::hasTagName): (WebCore::AccessibilityObject::defaultObjectInclusion): * accessibility/AccessibilityObject.h: * html/HTMLAttributeNames.in: LayoutTests: * accessibility/aria-modal-expected.txt: Added. * accessibility/aria-modal-multiple-dialogs-expected.txt: Added. * accessibility/aria-modal-multiple-dialogs.html: Added. * accessibility/aria-modal.html: Added. Canonical link: https://commits.webkit.org/169020@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-11-03 01:52:38 +00:00
PASS backgroundAccessible() is true
Dialog is displaying with opacity 1
AX: Add support for ARIA 1.1 attribute 'aria-modal' for dialog and alertdialog https://bugs.webkit.org/show_bug.cgi?id=138566 Reviewed by Chris Fleizach. Source/WebCore: Added support for aria-modal attribute on dialog/alertdialog roles. When modal dialog is displayed, all other contents will be unaccessible. Tests: accessibility/aria-modal-multiple-dialogs.html accessibility/aria-modal.html * accessibility/AXObjectCache.cpp: (WebCore::AXObjectCache::AXObjectCache): (WebCore::AXObjectCache::~AXObjectCache): (WebCore::AXObjectCache::findAriaModalNodes): (WebCore::AXObjectCache::updateCurrentAriaModalNode): (WebCore::AXObjectCache::isNodeVisible): (WebCore::AXObjectCache::ariaModalNode): (WebCore::AXObjectCache::focusedImageMapUIElement): (WebCore::AXObjectCache::remove): (WebCore::AXObjectCache::handleAttributeChanged): (WebCore::AXObjectCache::handleAriaModalChange): (WebCore::AXObjectCache::labelChanged): * accessibility/AXObjectCache.h: (WebCore::AXObjectCache::handleActiveDescendantChanged): (WebCore::AXObjectCache::handleAriaExpandedChange): (WebCore::AXObjectCache::handleAriaRoleChanged): (WebCore::AXObjectCache::handleAriaModalChange): (WebCore::AXObjectCache::handleFocusedUIElementChanged): (WebCore::AXObjectCache::handleScrollbarUpdate): (WebCore::AXObjectCache::handleAttributeChanged): * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::ariaCurrentState): (WebCore::AccessibilityObject::isAriaModalDescendant): (WebCore::AccessibilityObject::ignoredFromARIAModalPresence): (WebCore::AccessibilityObject::hasTagName): (WebCore::AccessibilityObject::defaultObjectInclusion): * accessibility/AccessibilityObject.h: * html/HTMLAttributeNames.in: LayoutTests: * accessibility/aria-modal-expected.txt: Added. * accessibility/aria-modal-multiple-dialogs-expected.txt: Added. * accessibility/aria-modal-multiple-dialogs.html: Added. * accessibility/aria-modal.html: Added. Canonical link: https://commits.webkit.org/169020@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-11-03 01:52:38 +00:00
PASS backgroundAccessible() is false
Dialog is not displaying with parent opacity 0
PASS backgroundAccessible() is true
Dialog is displaying with parent opacity .5
PASS backgroundAccessible() is false
Dialog is removed from DOM
AX: Add support for ARIA 1.1 attribute 'aria-modal' for dialog and alertdialog https://bugs.webkit.org/show_bug.cgi?id=138566 Reviewed by Chris Fleizach. Source/WebCore: Added support for aria-modal attribute on dialog/alertdialog roles. When modal dialog is displayed, all other contents will be unaccessible. Tests: accessibility/aria-modal-multiple-dialogs.html accessibility/aria-modal.html * accessibility/AXObjectCache.cpp: (WebCore::AXObjectCache::AXObjectCache): (WebCore::AXObjectCache::~AXObjectCache): (WebCore::AXObjectCache::findAriaModalNodes): (WebCore::AXObjectCache::updateCurrentAriaModalNode): (WebCore::AXObjectCache::isNodeVisible): (WebCore::AXObjectCache::ariaModalNode): (WebCore::AXObjectCache::focusedImageMapUIElement): (WebCore::AXObjectCache::remove): (WebCore::AXObjectCache::handleAttributeChanged): (WebCore::AXObjectCache::handleAriaModalChange): (WebCore::AXObjectCache::labelChanged): * accessibility/AXObjectCache.h: (WebCore::AXObjectCache::handleActiveDescendantChanged): (WebCore::AXObjectCache::handleAriaExpandedChange): (WebCore::AXObjectCache::handleAriaRoleChanged): (WebCore::AXObjectCache::handleAriaModalChange): (WebCore::AXObjectCache::handleFocusedUIElementChanged): (WebCore::AXObjectCache::handleScrollbarUpdate): (WebCore::AXObjectCache::handleAttributeChanged): * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::ariaCurrentState): (WebCore::AccessibilityObject::isAriaModalDescendant): (WebCore::AccessibilityObject::ignoredFromARIAModalPresence): (WebCore::AccessibilityObject::hasTagName): (WebCore::AccessibilityObject::defaultObjectInclusion): * accessibility/AccessibilityObject.h: * html/HTMLAttributeNames.in: LayoutTests: * accessibility/aria-modal-expected.txt: Added. * accessibility/aria-modal-multiple-dialogs-expected.txt: Added. * accessibility/aria-modal-multiple-dialogs.html: Added. * accessibility/aria-modal.html: Added. Canonical link: https://commits.webkit.org/169020@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-11-03 01:52:38 +00:00
PASS backgroundAccessible() is true
PASS successfullyParsed is true
TEST COMPLETE
Other page content with a dummy focusable element
Display a dialog