stormid / scaffold

Project scaffold and UI build system
0 stars 0 forks source link

Addition of break-word to reset #138

Closed sarah-storm closed 6 months ago

sarah-storm commented 11 months ago

Should we consider adding break-word styling to our default reset stylesheet as described here:

https://www.w3.org/WAI/WCAG22/Techniques/css/C33.html

Recent AX audits and spot-checks have mentioned horizonal scrolling on long words, titles and email addresses as a failure of the reflow criteria.

It could be done on a component-by-component basis, but in CMS situations it may apply to any component in use.

I've always thought a catch all style could lead to more bugs than it solves, but reading a bit more into it the main drawbacks seem to be on some international languages where a break changes meaning. Which could be overridden if we ever encountered it.