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
fenix/112.0
DreVla 2 years ago committed by mergify[bot]
parent 15d10021cf
commit 1c906a5038

@ -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