Re: [csswg-drafts] [css-fonts] font-size: 'medium' value is the user's preferred font size

> The issue is, having changed the size, does the browser update what medium (and all the other keywords) mean?

When users change the size, they are in fact defining, setting the medium size in the user agent style sheet. So, any web author who styles in his/her [author] style sheet, say,

`body {font-size: 13px;}`

will most likely (and very often) override the user preferred font size for unstyled body text (assuming here that the user prefers a font size different from 13px) when users visit such author's website because that is how cascade order (by origin) works: author (normal or !important) declarations always have precedence over user agent declarations. 

>  some web site show bigger text, others wont
    only websites that are carefully constructed (for example by using all em units) will scale; the ones that use a mix of pt, px, em etc will not

Unfortunately, a huge majority of websites will not respect, will not rely on the user's preferred font size. And, as a consequence of this, web accessibility advocacy groups or individuals will write post, blogs, articles, etc... explaining what is the medium font size **and relying on that 9-words sentence** ... that has been removed from CSS3 and CSS4. 

- - - - - 

One comment about the precise UI employed by browsers. Overall, it is bad and difficult to understand/to figure out (from an ordinary user perspective): AmeliaBR's own comments in this issue with regards to Chrome and MS-Edge supports me on this. But it is also a difficult goal too. That's why many browsers developped (starting around 2012-2014) _Reading View_ and _Reading Mode_ which represent an UI where the user can define an user style sheet with !important declarations. 


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

Received on Wednesday, 25 April 2018 18:44:37 UTC