The Surprising Truth About Pixels and Accessibility
DShould I use pixels or ems/rems?!
This is a question I hear a lot. Often with a dollop of anxiety or frustration behind the words. 😅
It's an emotionally-charged question because there are a lot of conflicting opinions out there, and it can be overwhelming. Maybe you've heard that rems are better for accessibility. Or maybe you've heard that the problem is fixed and pixels are fine?
The truth is, if you want to build the most-accessible product possible, you need to use both pixels and ems/rems. It's not an either/or situation. There are circumstances where rems are more accessible, and other circumstances where pixels are more accessible.