Post

Android and Compose tip: Don't set a fixed height to components unless it's absolutely necessary. And even then, double-check if it is actually required, and test with large font sizes, such as 200%.

Setting a fixed height, especially for components that wrap text, can cause various problems for users who use larger font sizes, such as cutting off text and preventing the component from expanding naturally. #AndroidDev #Android #AndroidAccessibility

0 reposts3 likes

Great tip. Unrelated to font but still about accessibility. I want to write a prompt to help my agent improve legacy code for readability via talkback. Do you know/have any resources that can help me with instructions for high quality (for screen readers) code, like beyond the basic labels?

My sentance is a bit jumbled, more clearly put: I’m writing a prompt for copilot to improve some legacy screens readability in screen readers. Do you have/know a resource about making screens better for screen readers beyond the basic labels? I want to try condense that into a prompt.

That's an interesting idea. I think that for screen readers on Android, the best one resource would be the official Android documentation - the information is a bit scattered, but overall, I feel like it still contains most of things that need to be taken into account in one resource.