Bug 1813877 - Announce page title with talkback when swiping on navbar

Talkback now announces the name of the tab switched to using
swipe left or right gestures on the navbar

(cherry picked from commit ce68e6f88e8bbfe096f4843c6f393f259dde6248)
pull/600/head
DreVla 2 years ago committed by mergify[bot]
parent ba03efc890
commit b0aaa43961

@ -143,6 +143,7 @@ import org.mozilla.fenix.onboarding.FenixOnboarding
import org.mozilla.fenix.perf.MarkersFragmentLifecycleCallbacks
import org.mozilla.fenix.settings.SupportUtils
import org.mozilla.fenix.settings.biometric.BiometricPromptFeature
import org.mozilla.fenix.tabstray.ext.toDisplayTitle
import org.mozilla.fenix.theme.ThemeManager
import org.mozilla.fenix.utils.allowUndo
import org.mozilla.fenix.wifi.SitePermissionsWifiIntegration
@ -1135,6 +1136,8 @@ abstract class BaseBrowserFragment :
updateThemeForSession(selectedTab)
}
binding.engineView.asView().contentDescription = selectedTab.toDisplayTitle()
if (browserInitialized) {
view?.let {
fullScreenChanged(false)

@ -32,6 +32,7 @@
android:id="@+id/engineView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:accessibilityLiveRegion="polite"
android:visibility="gone" />
</mozilla.components.ui.widgets.VerticalSwipeRefreshLayout>

Loading…
Cancel
Save