Skip to content

Add heading semantics to TopAppBar titles for accessibility - #1019

Open
paulsowden wants to merge 1 commit into
android:mainfrom
paulsowden:add-top-app-bar-heading-semantics
Open

Add heading semantics to TopAppBar titles for accessibility#1019
paulsowden wants to merge 1 commit into
android:mainfrom
paulsowden:add-top-app-bar-heading-semantics

Conversation

@paulsowden

Copy link
Copy Markdown

Apply heading semantics to title texts across TopAppBar snippet examples (SmallTopAppBar, CenterAlignedTopAppBar, MediumTopAppBar, LargeTopAppBar, navigation and multi-selection top bars).

Adding Modifier.semantics { heading() } to top app bar title texts enables screen reader users (such as TalkBack) to recognize top app bar titles as structural section headings and navigate through them quickly.

Apply heading semantics to title texts across TopAppBar snippet examples
(SmallTopAppBar, CenterAlignedTopAppBar, MediumTopAppBar, LargeTopAppBar,
navigation and multi-selection top bars).

Adding `Modifier.semantics { heading() }` to top app bar title texts
enables screen reader users (such as TalkBack) to recognize top app bar
titles as structural section headings and navigate through them quickly.
@paulsowden
paulsowden requested a review from a team as a code owner August 12, 2026 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant