Re: Minimum font size requirement or guideline for accessbility

On 08/03/2023 16:00, Guy Hickling wrote:
> ...But
> just saying "don't go below medium font" just begs the question, What do 
> you mean by medium!

Another fun fact: per the CSS specification 
https://w3c.github.io/csswg-drafts/css-fonts/#font-size-prop

font-size: medium

means that the browser should choose its baseline font size (scaling 
factor of 1 
https://w3c.github.io/csswg-drafts/css-fonts/#absolute-size-mapping).

So it should be the same as

font-size: 1rem

And 1rem is whatever the browser uses as its default value (most 
commonly these days, 16px).


P
-- 
Patrick H. Lauke

https://www.splintered.co.uk/ | https://github.com/patrickhlauke
https://flickr.com/photos/redux/ | https://www.deviantart.com/redux
twitter: @patrick_h_lauke | skype: patrick_h_lauke

Received on Wednesday, 8 March 2023 19:10:39 UTC