Re: [csswg-drafts] [css-fonts-4] Feature for making text always fit the width of its parent (#2528)

Making text dependent on the viewport has always been problematic for accessibility, this is well documented. This is why we usually advise not to use clamp or vh/vw units in font sizes. It just overrides user preferences unnecessarily.

The only way this could pass muster is to require browsers to include an opt-out to the behavior. Or to ignore it when users zoom in, which would defeat the purpose of the proposal.

I second Patrick’s pointer at LVTF and general W3C horizontal review. It might be good to generally outline when you get specific accessibility input to ensure that proposals are feasible to implement so that all users can use them.

-- 
GitHub Notification of comment by yatil
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2528#issuecomment-2772072339 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 2 April 2025 10:03:34 UTC