~seirdy/seirdy.one

f1a56e9ec418130c5f1495dbd2d206594cca606f — rohan kumar 10 months ago 79b9197
Explain why global stylesheet overrides are bad
2 files changed, 11 insertions(+), 0 deletions(-)

M content/posts/website-best-practices.gmi
M content/posts/website-best-practices.md
M content/posts/website-best-practices.gmi => content/posts/website-best-practices.gmi +4 -0
@@ 36,6 36,10 @@ A personal example: I set my preferred fonts in my computer's fontconfig setting

The "users don't know better and need us to make decisions for them" mindset isn't without merits; however, in my opinion, it's overused. Using system fonts doesn't make your website harder to use, but it does make it smaller and stick out less to the subset of users who care enough about fonts to change them. This argument isn't about making software easier for non-technical users; it's about branding by 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. 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.

### But wouldn't that allow a website to fingerprint with fonts?

I don't know much about fingerprinting, except that you can't do font enumeration without JavaScript. Since text-based websites that follow these best-practices don't send requests after the page loads and have no scripts, fingerprinting via font enumeration is a non-issue.

M content/posts/website-best-practices.md => content/posts/website-best-practices.md +7 -0
@@ 74,6 74,13 @@ the subset of users who care enough about fonts to change them. This argument is
about making software easier for non-technical users; it's about branding by
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.
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.

### But wouldn't that allow a website to fingerprint with fonts?

I don't know much about fingerprinting, except that you can't do font enumeration