Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Unified Diff: ios/chrome/browser/ui/toolbar/web_toolbar_controller.mm

Issue 2592673002: Make a VoiceOver announcement when a page has loaded.
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/toolbar/web_toolbar_controller.mm
diff --git a/ios/chrome/browser/ui/toolbar/web_toolbar_controller.mm b/ios/chrome/browser/ui/toolbar/web_toolbar_controller.mm
index 48d04753790ffba50f48f50cb13942a9dba26f83..0582dd1fdea6e7e7b758767809dfbde88436f4de 100644
--- a/ios/chrome/browser/ui/toolbar/web_toolbar_controller.mm
+++ b/ios/chrome/browser/ui/toolbar/web_toolbar_controller.mm
@@ -1631,6 +1631,10 @@ CGRect RectShiftedDownAndResizedForStatusBar(CGRect rect) {
animated:YES
completion:nil];
}];
+ UIAccessibilityPostNotification(
+ UIAccessibilityAnnouncementNotification,
+ l10n_util::GetNSString(
+ IDS_IOS_PAGE_LOADED_ACCESSIBILITY_ANNOUNCEMENT));
}
CGFloat delay = _unitTesting ? 0 : kLoadCompleteHideProgressBarDelay;
[self performSelector:@selector(hideProgressBarAndTakeSnapshot)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698