4 ms·
Never use viewport-relative units (like vw) for text sizing, it is not a best practice for accessibility (part of the reason it's not in the examples here). Mo
by greggturkington 5y ago
Never use viewport-relative units (like vw) for text sizing, it is not a best practice for accessibility (part of the reason it's not in the examples here).
Modern browsers handle zoom just fine, regardless of units. We use rem in case a user has set their own preferred base text size (the same reason we don't use viewport-relative units).
- lucas_codes 5y agoThat's why it's rem + vw, to prevent accessibility problems
- greggturkington 5y agoThe vw introduces the accessibility bug. Your can add whatever other units to it you like, the issues remain.
- lucas_codes 5y agoWhat accessibility bug is that? Adding the other unit is specifically so the issues do not remain.