From e72a9b15c69238cc1abeb1acca257ddd7bbb611a Mon Sep 17 00:00:00 2001 From: Jason Ross <51939451+JMR-dev@users.noreply.github.com> Date: Thu, 2 Jul 2026 17:52:48 -0500 Subject: [PATCH] docs(compose): correct RichTextEditor toolbar accessibility KDoc (onClickLabel, not contentDescription) (#179) Co-authored-by: Claude Opus 4.8 --- app/src/main/kotlin/org/libremail/ui/compose/RichTextEditor.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/org/libremail/ui/compose/RichTextEditor.kt b/app/src/main/kotlin/org/libremail/ui/compose/RichTextEditor.kt index 18f4804..942af0b 100644 --- a/app/src/main/kotlin/org/libremail/ui/compose/RichTextEditor.kt +++ b/app/src/main/kotlin/org/libremail/ui/compose/RichTextEditor.kt @@ -78,7 +78,8 @@ internal const val IMAGE_TAG = "libremail:image" * feels exactly like the old editor. * * The field is a normal Compose text field, so TalkBack, text selection, and large system fonts all - * work as usual; the toolbar buttons carry content descriptions and toggle state for accessibility. + * work as usual; each toolbar button exposes its accessible action label via `onClickLabel` on its + * [Modifier.clickable] (not a `contentDescription`), and still carries toggle state for accessibility. * * [resolveFont] maps a CSS font-family stack to a Compose [FontFamily] for display; the default * resolves nothing, leaving the system font (the model still round-trips the CSS value untouched).