aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui_views_widget_root__view.cc
blob: ee65b9522e37e040bdae074f34481bae6ae621a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/views/widget/root_view.cc.orig	2024-02-23 21:04:38 UTC
+++ ui/views/widget/root_view.cc
@@ -127,7 +127,7 @@ class AnnounceTextView : public View {
 #if BUILDFLAG(IS_CHROMEOS)
     // On ChromeOS, kAlert role can invoke an unnecessary event on reparenting.
     node_data->role = ax::mojom::Role::kStaticText;
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
     // TODO(crbug.com/1024898): Use live regions (do not use alerts).
     // May require setting kLiveStatus, kContainerLiveStatus to "polite".
     node_data->role = ax::mojom::Role::kAlert;