Commit e2558378 authored by mcarare's avatar mcarare
Browse files

For #6593: Update content description when item has dot notification

parent 52ca085f
......@@ -122,6 +122,7 @@ class BrowserMenuHighlightableItem(
highlightedTextView.visibility = View.VISIBLE
notificationDotView.imageTintList = ColorStateList.valueOf(highlight.notificationTint)
notificationDotView.visibility = View.VISIBLE
view.contentDescription = "${notificationDotView.contentDescription}, ${textView.text}"
}
is BrowserMenuHighlight.ClassicHighlight -> {
view.setBackgroundResource(highlight.backgroundResource)
......
......@@ -35,7 +35,7 @@
android:translationX="@dimen/mozac_browser_menu_highlightable_notification_translate_x"
android:translationY="@dimen/mozac_browser_menu_highlightable_notification_translate_y"
android:background="@android:color/transparent"
android:importantForAccessibility="no"
android:contentDescription="@string/mozac_browser_menu_highlighted"
android:visibility="gone"
app:layout_constraintTop_toTopOf="@id/image"
app:layout_constraintEnd_toEndOf="@id/image"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment