Skip to content

Commit

Permalink
ANDROID-14887 update set BottomSheet title as Heading for a11y (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeprubio authored Jul 1, 2024
1 parent 52d5c11 commit 95cbd41
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ open class SheetView(

handler.setOnClickListener { cancel() }
title.setTextOrHide(titleText)
ViewCompat.setAccessibilityHeading(title, true)
titleSpace.setSpaceOrGone(titleText)
subtitle.setTextOrHide(subtitleText)
description.setTextOrHide(descriptionText)
Expand Down

0 comments on commit 95cbd41

Please sign in to comment.