Package-level declarations

Types

Link copied to clipboard
Extends the ClickableSpan class to include a dedicated field for the accessibility label.
Link copied to clipboard
class ContentDescriptionSpan(var contentDescription: String?) : CharacterStyle

Extends the CharacterStyle class to include a dedicated field for an accessibility content description. This is useful in cases where the spanned content either cannot be described via the spanned text alone (for example, an image) or when the text of the span could use extra clarification for users of accessibility services like screen readers.