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: content/browser/accessibility/browser_accessibility_manager_win.cc

Issue 1923663002: Don't suppress the load complete accessibility event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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: content/browser/accessibility/browser_accessibility_manager_win.cc
diff --git a/content/browser/accessibility/browser_accessibility_manager_win.cc b/content/browser/accessibility/browser_accessibility_manager_win.cc
index eea3cbfe6f217286d6fc5822bfaf2ce6359e5982..b3e6613ed10a610f7380ed1c5ff237948b6c536c 100644
--- a/content/browser/accessibility/browser_accessibility_manager_win.cc
+++ b/content/browser/accessibility/browser_accessibility_manager_win.cc
@@ -155,16 +155,6 @@ void BrowserAccessibilityManagerWin::NotifyAccessibilityEvent(
if (node->GetRole() == ui::AX_ROLE_INLINE_TEXT_BOX)
return;
- // Don't fire focus, blur, or load complete notifications if the
- // window isn't focused, because that can confuse screen readers into
- // entering their "browse" mode.
- if ((event_type == ui::AX_EVENT_FOCUS ||
- event_type == ui::AX_EVENT_BLUR ||
- event_type == ui::AX_EVENT_LOAD_COMPLETE) &&
- !NativeViewHasFocus()) {
- return;
- }
-
LONG event_id = EVENT_MIN;
switch (event_type) {
case ui::AX_EVENT_ACTIVEDESCENDANTCHANGED:
« 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