Using fixed CSS height or width on buttons, links, or any other text containers can put you at risk of failing WCAG 2.2 Success Criterion 1.4.4 Resize Text. Fixed values can cause the text to get cut off when the text size is increased. Using alternative units like `rem` for font-size and `padding` instead of `width` or

3m read timeFrom ashleemboyer.com
Post cover image
Table of contents
Why not?Not convinced?Code demosAnother approach

Sort: