- From: Scott Kellum via GitHub <sysbot+gh@w3.org>
- Date: Mon, 10 Jan 2022 22:04:22 +0000
- To: public-css-archive@w3.org
- For design reasons, I want the slope of my font size to be greater than or equal to y=1x - Note I am using generic algebra to take it out of a specific implementation, you could also say `font-size: 8vw` and to emphasize the issue I added the `-1rem`. Using `+1rem-32px` does not solve the zoom issue in the example provided as the slope is still modified by a net negative value. With `+1rem-32px` the text still scales inversely to the zoom rate. - Negative rem in `calc()` is not the root of this problem. It exists any time text is scaled more than the proportionate increase in the viewport or container. - There are various methods to do this outside of having negative rem in calc. A series of media queries, clamp(), or a non-standard method like Typetura / the interpolated values proposal. - This issue is not an uncommon issue, and it has an active thread with [WCAG](https://github.com/w3c/wcag/issues/1671). I opened this issue as a proposal to solve this. - This issue is common enough to where people have referenced it as an accessibility pet peeve on Twitter. -- GitHub Notification of comment by scottkellum Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6869#issuecomment-1009386856 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 10 January 2022 22:04:24 UTC