News for hackers. Stuff that matters.
Re:The U.S. Navy's $100M Checkbox (2019) by pta2002 on Tuesday August 20, 2024 @05:06AM (#41298221)
This website is completely unreadable on an ultrawide monitor, it seems to make the font size dependent on the window's width, which makes it absolutely massive (I can maybe fit half a paragraph on the screen?), and the browser zoom does not seem to change the font size because of it...
Re:The U.S. Navy's $100M Checkbox (2019) by alt227 on Tuesday August 20, 2024 @05:12AM (#41298248)
> the browser zoom does not seem to change the font size because of it

This is one of the worst cases of this I have seen. It is literally unreadable for me. Normally I can use browser zoom to sort it out, but this beauty even defeats that workaround.

Re:The U.S. Navy's $100M Checkbox (2019) by rmarques7 on Tuesday August 20, 2024 @05:34AM (#41298376)
The irony of this happening on an article talking about bad design...
Re:The U.S. Navy's $100M Checkbox (2019) by hgomersall on Tuesday August 20, 2024 @09:48AM (#41300041)
It's not ironic; it just demonstrates that design is hard to get right.
Re:The U.S. Navy's $100M Checkbox (2019) by kmoser on Wednesday August 21, 2024 @12:37AM (#41306840)
It's not hard to design a web page that's 95% text and which lets the user adjust the font size via the browser's zoom controls.
Re:The U.S. Navy's $100M Checkbox (2019) by tapland on Tuesday August 20, 2024 @05:19AM (#41298280)
Yup, but while making the window smaller to write this I noticed I can make it a small window, about the size of my phone, to get text that is reasonable.

The site, giving UI advice, is written assuming your display is always ~7" ?

Re:The U.S. Navy's $100M Checkbox (2019) by alt227 on Tuesday August 20, 2024 @05:25AM (#41298322)
I thought that the site must be designed for mainly mobile, so I switched mobile mode on in the dev tools in firefox. However then there is some menu header text overlapping the main body.

It seems the design of this site is very much style over function.

Re:The U.S. Navy's $100M Checkbox (2019) by Traubenfuchs on Tuesday August 20, 2024 @06:00AM (#41298509)
Text on safari mobile is too small for my bad eyes and increasing font size does… not increase font size.
Re:The U.S. Navy's $100M Checkbox (2019) by Brajeshwar on Tuesday August 20, 2024 @05:36AM (#41298386)
Someone while designing for the mobile, forgot about desktops.

  ```
  :root {
    font-size: calc(1vw + 1vh + .5vmin);
  }

  html {
    max-width: 100%;
  }

  body {
    color: #444;
    font-family: "Vollkorn", georgia, serif;
    margin: 0 auto;
    max-width: 100%;
  }
  ```
They can remove the width on the HTML and replace the body's `max-width: 100%` with something like;

  ```
  width: 100%;
  max-width: 1200px;
  ```
Re:The U.S. Navy's $100M Checkbox (2019) by SirMittens on Tuesday August 20, 2024 @05:22AM (#41298298)
One solution you could use to get around this weird design decision, is to use the reader mode in Firefox (I'm not sure what is the alternative for other browsers).
Re:The U.S. Navy's $100M Checkbox (2019) by pjc50 on Tuesday August 20, 2024 @06:08AM (#41298537)
"Reader mode" is the ultimate weapon against designer unreadability. It feels like it should have ADA-mandate level importance.
Re:The U.S. Navy's $100M Checkbox (2019) by alt227 on Tuesday August 20, 2024 @05:27AM (#41298333)
This worked for me, thanks :)
Re:The U.S. Navy's $100M Checkbox (2019) by DrScientist on Tuesday August 20, 2024 @05:25AM (#41298320)
Ironic
Re:The U.S. Navy's $100M Checkbox (2019) by zo1 on Tuesday August 20, 2024 @06:42AM (#41298722)
All they have to do is remove "p {max-width: 28rem;}" and the website becomes beautiful. The text fills the entire width of the screen, and the font scales with the screen size (though they should dial it back a bit, or have a different scaling ramp). It's like reading an actual document, and how the web should be. Bonus points, it's ridiculously "responsive" for small screen sizes.

Yes, I know they got it kinda "wrong", but they're arguably going in the right direction here. I'd give the author points for trying something out of the box, and also for "sticking it" to the monstrosity that Bootstrap started many years ago.

Re:The U.S. Navy's $100M Checkbox (2019) by pjc50 on Tuesday August 20, 2024 @07:53AM (#41299145)
> the font scales with the screen size

The font somehow re-scales if you zoom the web page, at least with mousewheel zoom on a desktop browser. Instant accessibility failure. I've also never seen this before and couldn't work out how it had been achieved?