WinUI-Gallery icon indicating copy to clipboard operation
WinUI-Gallery copied to clipboard

[Accessibility][Meta] Text blocks need a MaxWidth on large screens

Open citelao opened this issue 1 year ago • 1 comments

Which version of the app?

WinUI 3 Gallery

Description

Today, most text (RichTextBlock, TextBlock, etc) grows to the entire width of the screen, which makes it hard to read and can be an accessibility barrier.

We should add a style/default style with a MaxWidth for text (or a MaxWidth for the overall content view), so that it is always readable.

  • https://baymard.com/blog/line-length-readability
  • https://www.smashingmagazine.com/2014/09/balancing-line-length-font-size-responsive-web-design/#the-ideal-measure-45-to-75-characters
  • https://en.wikipedia.org/wiki/Line_length

Screenshots

Current:

ultra-wide line

Preferred:

image

Windows version

No response

Additional context

No response

citelao avatar Mar 25 '23 01:03 citelao

Is this a bug for WinUI gallery or to set a max width on all textblocks?

karkarl avatar Nov 09 '23 19:11 karkarl