From 2d43a0ddc4257102005633c2bff0bfeb97ec4a9c Mon Sep 17 00:00:00 2001 From: rohan kumar Date: Tue, 24 Nov 2020 10:42:06 -0800 Subject: [PATCH] Clarify a snippet on overriding stylesheets We shouldn't require users to override stylesheets, but we should expect it. --- content/posts/website-best-practices.gmi | 4 +++- content/posts/website-best-practices.md | 12 +++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/content/posts/website-best-practices.gmi b/content/posts/website-best-practices.gmi index 9832aff..eab328e 100644 --- a/content/posts/website-best-practices.gmi +++ b/content/posts/website-best-practices.gmi @@ -38,7 +38,9 @@ The "users don't know better and need us to make decisions for them" mindset isn ### Can't users globally override stylesheets instead? -It's not a good idea to expect users to automatically override website stylesheets. Doing so would break websites that use fonts such as Font Awesome to display vector icons. We shouldn't expect these users to constantly battle with websites the same way that many adblocking/script-blocking users (myself included) already do. +It's not a good idea to require users to automatically override website stylesheets. Doing so would break websites that use fonts such as Font Awesome to display vector icons. We shouldn't have these users constantly battle with websites the same way that many adblocking/script-blocking users (myself included) already do when there's a better option. + +That being said, many users *do* actually override stylesheets. We shouldn't *require* them to do so, but we should keep our pages from breaking in case they do. Pages following this article's advice will probably work perfectly well in these cases without any extra effort. ### But wouldn't that allow a website to fingerprint with fonts? diff --git a/content/posts/website-best-practices.md b/content/posts/website-best-practices.md index c4060c9..f2266f4 100644 --- a/content/posts/website-best-practices.md +++ b/content/posts/website-best-practices.md @@ -76,10 +76,16 @@ asserting a personal preference. ### Can't users globally override stylesheets instead? -It's not a good idea to expect users to automatically override website stylesheets. +It's not a good idea to require users to automatically override website stylesheets. Doing so would break websites that use fonts such as Font Awesome to display vector -icons. We shouldn't expect these users to constantly battle with websites the same -way that many adblocking/script-blocking users (myself included) already do. +icons. We shouldn't have these users constantly battle with websites the same way +that many adblocking/script-blocking users (myself included) already do when there's +a better option. + +That being said, many users *do* actually override stylesheets. We shouldn't +*require* them to do so, but we should keep our pages from breaking in case they do. +Pages following this article's advice will probably work perfectly well in these +cases without any extra effort. ### But wouldn't that allow a website to fingerprint with fonts?