blob: a9f61320635d93de87339fcc8f50de62e982d0b8 (
plain) (
blame)
| 1
2
3
4
5
6
7
8
9
10
11
 | --- ui/views/widget/root_view.cc.orig	2025-01-27 17:37:37 UTC
+++ ui/views/widget/root_view.cc
@@ -165,7 +165,7 @@ class AnnounceTextView : public View {
 #if BUILDFLAG(IS_CHROMEOS)
     // On ChromeOS, kAlert role can invoke an unnecessary event on reparenting.
     GetViewAccessibility().SetRole(ax::mojom::Role::kStaticText);
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
     // TODO(crbug.com/40658933): Use live regions (do not use alerts).
     // May require setting kLiveStatus, kContainerLiveStatus to "polite".
     GetViewAccessibility().SetRole(ax::mojom::Role::kAlert);
 |