material-components / material-components/material-components-android

[CollapsingToolbarLayout] Talkback is not showing correct title place on expanded mode

Open
#2,928 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Widget: TopAppBar
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

**Description:** Full description of issue here

Talkback is not announcing the expanded title on the correct place. The expandedTitleGravity selected bottom. When we started Talkback still Talkback announce the title on the top not on the Title appearance.

**Expected behavior:** Screenshots and/or description of expected behavior

Talkback should move on the Title on expanded toolbar and announce it on correct place.

**Source code:** The code snippet which is causing this issue

**Minimal sample app repro:** Please consider attaching a minimal sample app that reproduces the issue. This will help narrow down the conditions required for reproducing the issue, and it will speed up the bug fix process. You may attach a zip file of the sample app or link to a GitHub repo that contains the sample app.

https://user-images.githubusercontent.com/10423424/185850823-c6bf1bd3-a122-433e-a6a6-e9040da1c70c.mov

**Android API version:** Android API version : 29-30

**Material Library version:** Material Android Library version you are using here (e.g., 1.1.0-alpha07) Latest

**Device:** Device on which the bug was encountered here: Tried on more than 10 devices Samsung, OnePlus, Lg, Motorola

To help us triage faster, please check to make sure you are using the [latest version](https://github.com/material-components/material-components-android/releases) of the library.

We also happily accept [pull requests](https://github.com/material-components/material-components-android/pulls).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the CollapsingToolbarLayout implementation and reproduce the issue with TalkBack on Android API 29-30, using expandedTitleGravity set to bottom. Trace how the expanded title is exposed to accessibility services. Done means TalkBack focuses on and announces the expanded title at its visible position.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
accessibility, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.