Environment details
Android API 35
Library Version: 6.1.1
Steps to reproduce
- Create a GoogleMap composable with a Clustering composable inside of it.
- The Clustering's ItemContent and ClusterContent params are setup with custom composables which have their
contentDescription set to different texts(i.e. for cluster: "Cluster of x items" and for markers "Marker with y title").
- Activate Talkback on the Android OS.
- Run the app
- Try to select a cluster or a marker
- Actual result: Talkback says "Map Marker" instead of the expected "Cluster of x items"/"Marker with y title"
Code example
This is an example how we have setup the renderer for the Clustering:
val renderer = rememberClusterRenderer(
clusterContent = { cluster ->
ClusterContent(
numberOfItems = totalItemCount,
isSelected = isSelected
)
},
clusterItemContent = { mapItemGroup ->
if (isStacked()) {
StackedMarkerContent(
items = items,
)
} else {
CustomItemMarkerContent(
item = items.first()
)
}
},
clusterManager = clusterManager
)
Please note that i've noticed that in the top left corner of the map there are some invisible marker/cluster views which are selectable by talkback and those have the content description correctly read by talkback.
Environment details
Android API 35
Library Version: 6.1.1
Steps to reproduce
contentDescriptionset to different texts(i.e. for cluster: "Cluster of x items" and for markers "Marker with y title").Code example
This is an example how we have setup the renderer for the Clustering:
Please note that i've noticed that in the top left corner of the map there are some invisible marker/cluster views which are selectable by talkback and those have the content description correctly read by talkback.