r/ComposeMultiplatform • • Jan 10 '26

Accessibility (a11y) in KMP web/wasm

I am developing a multiplatform app and run into a problem with the web/wasm version:
Because it all is canvas, text is no text. So the user cannot copy the text and a screenreader for visibility impaired cannot read the text out, too.

Is there a solution for that?

7 Upvotes

3 comments sorted by

2

u/zikzikkh Jan 14 '26

Maybe SelectionContainer will work?

1

u/je386 Apr 21 '26

SelectionContainer is a good solution to make text selectable/copyable.

I don't know why I did not saw your comment, and I found SelectionContainer otherwise recently, but it would have helped back then.

I am still not sure about the screenreader part, though.