-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AX: Add notification for VoiceOver to announce percentage of completi…
…on of isolated tree creation. https://bugs.webkit.org/show_bug.cgi?id=270395 rdar://122335605 Reviewed by Tyler Wilcock. VoiceOver responds to the AXLayoutComplete notification by announcing the page loading progress. This patch combines the percentage of page download with the isolated tree creation progress to report a single measure of page readiness to VoiceOver on the AXLayoutComplete notification. In addition, we are setting the title of the WebArea element to the same percentage of readiness to allow the VoiceOver user to read it on demand. Part of this fix involves making AXCoreObject::titleAttributeValue virtual so that the AXIsolatedObject can override this property when it is set by reportLoadingProgress. * Source/WebCore/accessibility/AXCoreObject.h: * Source/WebCore/accessibility/AXLogger.cpp: (WebCore::AXLogger::shouldLog): * Source/WebCore/accessibility/AXObjectCache.cpp: (WebCore::AXObjectCache::AXObjectCache): * Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp: (WebCore::AXIsolatedObject::titleAttributeValue const): * Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.h: * Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp: (WebCore::AXIsolatedTree::createEmpty): (WebCore::AXIsolatedTree::create): (WebCore::AXIsolatedTree::loadingProgress): (WebCore::AXIsolatedTree::reportLoadingProgress): (WebCore::AXIsolatedTree::resolveAppends): (WebCore::AXIsolatedTree::reportCreationProgress): Deleted. * Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.h: (WebCore::AXIsolatedTree::loadingProgress): Deleted. * Source/WebCore/accessibility/mac/AXObjectCacheMac.mm: (WebCore::AXObjectCache::postPlatformNotification): Canonical link: https://commits.webkit.org/275788@main
- Loading branch information
1 parent
338528b
commit 44f5b66
Showing
7 changed files
with
48 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters