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

[MaterialToolbar] Title not marked as heading for accessibility

Open
#4,073 1 comment 1 reaction 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

**Expected behavior:** The title `TextView` of the toolbar should be marked as a heading so screen readers describe it as so.

**Source code:**
* https://github.com/material-components/material-components-android/blob/master/docs/components/TopAppBar.md
* https://github.com/material-components/material-components-android/blob/master/lib/java/com/google/android/material/appbar/MaterialToolbar.java

**Android API version:** Any

**Material Library version:** Any

**Device:** Any

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 with lib/java/com/google/android/material/appbar/MaterialToolbar.java and review how the toolbar title TextView is handled. Use docs/components/TopAppBar.md for the component context, then verify that the title is exposed as a heading to screen readers. Done means the title is consistently announced as a heading on Android API versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
accessibility, mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.