3 ms·
Yeah hard disagree. Having fixed px values doesn't mean the page is less accessible. For sufficiently complex layouts you will always have to mix px, em, and r
by sublinear 4y ago
Yeah hard disagree.
Having fixed px values doesn't mean the page is less accessible. For sufficiently complex layouts you will always have to mix px, em, and rem.
Examples of things that should not scale with the root font size and usually set with px/em are layout elements like headers, footers, etc. as well as components like buttons, labels, icons, etc. Those should only scale with screen size so the page doesn't turn into an incomprehensible mess.
- cosmotic 4y agoHard disagree. Those elements should all be easier to read when you scale the text size up. If your page can't scale without becoming an incomprehensible mess, then take it back to the design team.
- blep_ 4y ago> components like buttons, labels ... components like labels, which consist entirely of text, should not scale with the font size?
- shakna 4y agoAbsolutely disagree. What is the point of scaling and accessibility, if I can't make your labels, buttons and footers readable? I can't fix my sight, but you could adapt it so I'm not guessing.
- mrj 4y agoThe button text should get bigger if you increase the font size (obviously) but it doesn't always make sense to also scale the button's padding or shadow effect with the text, for example. As the text gets larger, most designs have to sacrifice space to make it work. Often this can be accomplished by fixing the size of pretty pixels that don't take away from usability. It's only a way to help ensure the design scales. Otherwise it would be no different than zoom, as others have said.
- shakna 4y agoPerhaps you're not used to accessibility? There is a very vast chasm between zoom, and a responsive design that can scale to the base font size. One can break context, and make it more difficult to follow the flow of content. The other maintains context and flow, and is easier to interact with.