A website might use fluid typography with the CSS clamp() function and viewport units. See “Fluid typography with CSS clamp” for code examples and demos.
If the page’s main heading has a font-size of 80 pixels at 100% zoom, and then the user zooms the page to 300% (the max zoom in Firefox), the heading may be only 1.5 times larger (instead of 3 times larger) because of fluid typography.
See this demo: https://codepen.io/piccalilli/project/full/48cfe24e498546cefdcae45bddecff46
If I’m reading the spec correctly, 1.5 times larger is not enough to pass the Resize Text success criterion. However, since the heading is already very large at 100%, it may not be necessary to make it twice as large.
I have received a few comments on Twitter in this discussion, and the general consensus seems to be that the above scenario should not be a fail. However, I could not find anything about large text being exempt in the spec and related guides.
Could you clarify if Resize Text should apply also to text that is very large to begin with?
A website might use fluid typography with the CSS
clamp()function and viewport units. See “Fluid typography with CSS clamp” for code examples and demos.If the page’s main heading has a
font-sizeof 80 pixels at 100% zoom, and then the user zooms the page to 300% (the max zoom in Firefox), the heading may be only 1.5 times larger (instead of 3 times larger) because of fluid typography.See this demo: https://codepen.io/piccalilli/project/full/48cfe24e498546cefdcae45bddecff46
If I’m reading the spec correctly, 1.5 times larger is not enough to pass the Resize Text success criterion. However, since the heading is already very large at 100%, it may not be necessary to make it twice as large.
I have received a few comments on Twitter in this discussion, and the general consensus seems to be that the above scenario should not be a fail. However, I could not find anything about large text being exempt in the spec and related guides.
Could you clarify if Resize Text should apply also to text that is very large to begin with?