From 688d2c9fa17bbd61d5855eac9bf92e57a18f2f05 Mon Sep 17 00:00:00 2001
From: Pier Angelo Vendrame <pierov@torproject.org>
Date: Tue, 20 Jun 2023 17:20:04 +0200
Subject: [PATCH] fixup! Firefox preference overrides.

Bug 41729: Fix screen readers on Windows
---
 browser/app/profile/001-base-profile.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/browser/app/profile/001-base-profile.js b/browser/app/profile/001-base-profile.js
index fe5afa918a30e..621a03be3b400 100644
--- a/browser/app/profile/001-base-profile.js
+++ b/browser/app/profile/001-base-profile.js
@@ -503,6 +503,10 @@ pref("corroborator.enabled", false);
 // stop using .textContent.
 pref("intl.multilingual.liveReload", false);
 
+// tor-browser#41729: if it is false, web content is not accessible to screen
+// readers, at least on Windows.
+pref("accessibility.cache.enabled", true);
+
 // Onboarding.
 pref("browser.onboarding.tourset-version", 5);
 pref("browser.onboarding.newtour", "welcome,privacy,tor-network-9.0,circuit-display,security,expect-differences,onion-services,learn-more");
-- 
GitLab