News for hackers. Stuff that matters.
Re:Making the GOV.UK Front end typography scale more accessible by politelemon on Wednesday December 14, 2022 @04:13PM (#33990665)
I like the work that Gov UK do in terms of accessibility, changes they make, and how they explain it. Not just from a compliance point of view, but a lot of thought goes into their design too. The first time I had to file my taxes (HMRC site), I was terrified, but their site guided me through the process, with clear divisions, sections, guidance along the way. In all of this their design decisions really shines, and it makes a lot of sense; dealing with legalese and paperwork is daunting, the last thing a user should be doing is having to 'navigate' your website.
Re:Making the GOV.UK Front end typography scale more accessible by shortcake27 on Wednesday December 14, 2022 @04:28PM (#33990870)
Every time I use a gov.uk service I’m thoroughly impressed. The design is always clear and the UX simple. Kudos to the team.
Re:Making the GOV.UK Front end typography scale more accessible by psd1 on Wednesday December 14, 2022 @06:49PM (#33992670)
Is there is one thing that the British government does really well, its presentation of public information.

Marvel at our road signage!

Travel across London with significantly fewer missteps than in other cities of equivalent complexity of metropolitan area transit networks!

Apply to change ownership of a vehicle!

...let me have this. We don't have much to be proud of from the last ten years.

Re:Making the GOV.UK Front end typography scale more accessible by petr_tik on Wednesday December 14, 2022 @07:41PM (#33993245)
What about running the fastest Covid vaccine rollout in Europe and helping Ukraine resist the invasion to preserve their sovereignty?
Re:Making the GOV.UK Front end typography scale more accessible by nextos on Wednesday December 14, 2022 @08:31PM (#33993793)
British typography has a long tradition.

As a foreigner, I always found public signs very pleasant and easy to read.

Gill Sans, which has a really nice modernist aesthetics, was developed for London Underground: https://en.wikipedia.org/wiki/Gill_Sans

Re:Making the GOV.UK Front end typography scale more accessible by bearmode on Thursday December 15, 2022 @05:58AM (#33997719)
Shame about the dog-fucking but yeah Eric Gill was a genius at design.
Re:Making the GOV.UK Front end typography scale more accessible by extasia on Thursday December 15, 2022 @10:21AM (#34000853)
You're gonna let the daughter-fucking slide but not the dog-fucking?..
Re:Making the GOV.UK Front end typography scale more accessible by xxpor on Wednesday December 14, 2022 @11:06PM (#33995075)
>Marvel at our road signage!

They're generally OK, but the fractions missing a bar, and using m as an abbreviation for miles are absolutely horrible.

Re:Making the GOV.UK Front end typography scale more accessible by cutler on Wednesday December 14, 2022 @08:13PM (#33993602)
Have a look at the Home Office part of gov.uk and I think you'll soon change your mind. Pure abomination. At one point, before I kicked up a fuss, they had 2 distinct links - Biometric Residence Permit (BRP) and Biometric Residence Card (BRC) - with apparently different destinations but which, in fact, pointed to the same form. Worse, staff responding to BRP/BRC enquiries were convinced the links pointed to distinct forms and were even including the fictional link distinction in rationales for rejecting applications.

Then there was the form with fields which rejected input with trailing whitespace with no explanation, ie. no trim function. I could go on.

Re:Making the GOV.UK Front end typography scale more accessible by nicbou on Thursday December 15, 2022 @04:10AM (#33997011)
Even the content is fantastic. They work hard to make it easy to understand.
Re:Making the GOV.UK Front end typography scale more accessible by sigwinch28 on Wednesday December 14, 2022 @04:15PM (#33990686)
I am happy to the author mention WCAG and British Dyslexia Association. They seem to have a refreshingly strong focus on accessibility.

I wonder how much of an uphill battle is fought inside the GDS and across the UK government to push for this kind of universal access.

Also, it's amazing how much of a "brand" GOV.UK is for me even in spite of (or perhaps due to?) its accessibility. To me the brand is: big strong blobs of the high-contrast colour palette, GDS Transport (the typeface), and a relatively (but pleasingly) narrow content.

Re:Making the GOV.UK Front end typography scale more accessible by gchq-7703 on Wednesday December 14, 2022 @05:33PM (#33991645)
I've worked for a few UK departments and been very impressed with not only their adherence to WCAG 2.1 AAA on user-facing tools, but also on internal administration tools. Accessibility is strictly required and your project will not be allowed to be released without it.
Re:Making the GOV.UK Front end typography scale more accessible by eurasiantiger on Wednesday December 14, 2022 @05:43PM (#33991789)
So they don’t have any video content on the sites?

Or do they actually have a sign language interpreter on each video on every site?

Re:Making the GOV.UK Front end typography scale more accessible by jfk13 on Wednesday December 14, 2022 @05:45PM (#33991819)
I don't recall running across video on gov.uk sites -- and offhand, can't think of any case where it would have been desirable.
Re:Making the GOV.UK Front end typography scale more accessible by gchq-7703 on Wednesday December 14, 2022 @05:50PM (#33991895)
This is documented under the 'video' section on the publishing guidelines[0]. Videos are heavily dissuaded for a large number of reasons.

[0] https://www.gov.uk/guidance/how-to-publish-on-gov-uk/images-...

Re:Making the GOV.UK Front end typography scale more accessible by xnorswap on Thursday December 15, 2022 @03:34AM (#33996761)
In a previous job I worked on a site which had to meet gov UK guidelines despite not strictly being directly hosted on gov.uk, and early in production every video was re-recorded / re-produced with sign language interpretation included to meet guidelines.

They took accessibility incredibly seriously.

Re:Making the GOV.UK Front end typography scale more accessible by eurasiantiger on Tuesday December 20, 2022 @05:46AM (#34064137)
That’s awesome! If only more goverments realised the need for this!
Re:Making the GOV.UK Front end typography scale more accessible by bearmode on Thursday December 15, 2022 @06:04AM (#33997767)
They specifically try to steer clear of video content. It's less accessible, worse for people scanning for information, worse for people on slow connections or mobile data connections, and can become outdated whilst also being much harder to update.
Re:Making the GOV.UK Front end typography scale more accessible by razakel on Thursday December 15, 2022 @10:07AM (#34000618)
They try to avoid video because it's data heavy and difficult to update. Though when I applied for a Civil Service job the videos had a signed version and a transcript.
Re:Making the GOV.UK Front end typography scale more accessible by razakel on Wednesday December 14, 2022 @04:17PM (#33990717)
GOV.UK is open source, and such a good design that Canada, Ireland, Australia and New Zealand have copied it.
Re:Making the GOV.UK Front end typography scale more accessible by unicornporn on Wednesday December 14, 2022 @06:02PM (#33992051)
Do you have a source for this?
Re:Making the GOV.UK Front end typography scale more accessible by petepete on Wednesday December 14, 2022 @06:41PM (#33992564)
For the NZ one you'll see the following snippet at the bottom of each component page:

> Credit. Guidance, original HTML and CSS derived from GOV.UK Design System.

https://design-system-alpha.digital.govt.nz/components/Butto...

Re:Making the GOV.UK Front end typography scale more accessible by unicornporn on Tuesday December 20, 2022 @01:39PM (#34070224)
Thanks!
Re:Making the GOV.UK Front end typography scale more accessible by HuwFulcher on Wednesday December 14, 2022 @05:35PM (#33991676)
Love GOV.UK design guidelines. Working for a government department at the moment as a contractor building some internal frontends and the design system is used internally as well. Really helps keep things consistent across all areas of government.
Re:Making the GOV.UK Front end typography scale more accessible by divbzero on Wednesday December 14, 2022 @06:21PM (#33992298)
Yes, GOV.UK walks the walk: far more consistent than .GOV in the States.

UK

– 10 Downing Street https://www.gov.uk/government/organisations/prime-ministers-...

– HM Treasury https://www.gov.uk/government/organisations/hm-treasury

– Department for Education https://www.gov.uk/government/organisations/department-for-e...

US

– White House https://www.whitehouse.gov/

– Department of the Treasury https://home.treasury.gov/

– Department of Education https://www.ed.gov/

Re:Making the GOV.UK Front end typography scale more accessible by saratogacx on Wednesday December 14, 2022 @08:10PM (#33993556)
The US is also going in this direction albeit slowly.

https://designsystem.digital.gov/

Re:Making the GOV.UK Front end typography scale more accessible by unsafecast on Thursday December 15, 2022 @07:14AM (#33998333)
A bit strange that one of the showcased websites is awful on mobile.
Re:Making the GOV.UK Front end typography scale more accessible by jorgesborges on Wednesday December 14, 2022 @06:39PM (#33992533)
> smaller font sizes (14px and below) are bad for accessibility and should not be included as options in the typography scale

When improving our accessibility I noticed that in iOS any font size less than 16px on form inputs will zoom in if selected, which is really annoying as you have to zoom back out to see the page layout normally.

We actually had our :root set to 14px so this happened on every form input across the app. Definitely font sizes below the browser defaults (16px) can cause unexpected issues.

Re:Making the GOV.UK Front end typography scale more accessible by tatersolid on Thursday December 15, 2022 @10:37AM (#34001159)
Setting your root font size to 14px is the problem. Fix that. Use em/rem units and don’t override the user’s chosen font size.
Re:Making the GOV.UK Front end typography scale more accessible by jorgesborges on Thursday December 15, 2022 @10:49PM (#34009855)
Yeah it was a janky setup. I think the root was 14px which was converted to rem and then multiplied by a scaleMultiplier depending on user settings.

As you pointed out the obvious solution was to increase the root size, but that would have significantly changed the UI for a lot of users… so I just targeted all form inputs for webkit only and set the default size in rem using !important to 16px.

Re:Making the GOV.UK Front end typography scale more accessible by deanc on Wednesday December 14, 2022 @07:25PM (#33993087)
I don’t usually resort to snarky comments but I feel it’s warranted here. It’s a bit odd that so much effort has been put into font sizes and yet there is a permanent cookie icon taking up 10% of my screen on mobile even after rejecting all cookies.
Re:Making the GOV.UK Front end typography scale more accessible by VWWHFSfQ on Wednesday December 14, 2022 @09:20PM (#33994248)
I truly believe that the EU has ruined the internet.
Re:Making the GOV.UK Front end typography scale more accessible by switch007 on Thursday December 15, 2022 @02:26AM (#33996343)
The UK is not in the EU. We’re free to do away with cookie banners
Re:Making the GOV.UK Front end typography scale more accessible by kaba0 on Thursday December 15, 2022 @06:28AM (#33997940)
It’s really stupid to blame the EU over websites decision to add unnecessary banners.
Re:Making the GOV.UK Front end typography scale more accessible by switch007 on Thursday December 15, 2022 @06:40AM (#33998052)
They’re doing it because they want explicit consent from visitors tired and fed up who just click “accept”, right?
Re:Making the GOV.UK Front end typography scale more accessible by kaba0 on Thursday December 15, 2022 @07:02AM (#33998227)
If you only use functional cookies and not tracking ones then you are not required to have the users accept anything.
Re:Making the GOV.UK Front end typography scale more accessible by nicbou on Thursday December 15, 2022 @06:47AM (#33998102)
It just forced the internet to be honest. The internet's reaction ruined the internet.
Re:Making the GOV.UK Front end typography scale more accessible by TacticalCoder on Wednesday December 14, 2022 @10:16PM (#33994701)
That webpage's fonts simply renders poorly on my older Mac and on my Linux systems. Is it the AA that is wrong for the main font? The only system I have here where it renders kinda okay (I still find that font way too bold for paragraphs) is on Windows.

I just don't think it's a good font. I don't think it looks good. I don't think a font that renders poorly on many systems is good from a UI / legibility / accessibility perspective.

They may have "solved" the scaling issue but I don't see very careful thoughts about "typography" here.

A font which doesn't render well on several systems is simply broken.

Then the screenshots here are just badly resized:

    https://designnotes.blog.gov.uk/2018/02/19/developing-new-typography-and-spacing-for-gov-uk-frontend/
Makes zero sense to resize screenshots like that, messing the font, when the whole point is to talk about typography (and if they're not resized, then there's something deeply broken with the fonts not just for me).

I don't know what font they're using but it looks like some serious case of NIH syndrome and I do believe there are way better fonts out there.

I give 5 out of 10 at the very most.

P.S: it's also one of the rare website which renders with the center column so narrow and I don't like it either.

Re:Making the GOV.UK Front end typography scale more accessible by bearmode on Thursday December 15, 2022 @06:09AM (#33997804)
It renders completely fine on my Linux machine as well as my Windows one, and is fine on Android as well.

And the screenshots look perfectly normal.

I'm not sure what your particular issue is but maybe make a bug report?

Re:Making the GOV.UK Front end typography scale more accessible by unsafecast on Thursday December 15, 2022 @07:17AM (#33998356)
I quite like the font, and it renders perfectly on my Linux machine.

The center column is a bit narrow but that's a minor, easily fixed problem.

You should file a bug report.

Re:Making the GOV.UK Front end typography scale more accessible by ggm on Wednesday December 14, 2022 @10:52PM (#33994993)
There's still plenty to criticize in the gov.uk web design, and I have. That allows me to say amongst other things, one thing you cannot criticize is their reaction: I got a response, it was timely and it valued my input according to its utility, and I felt respected as a user. They didn't over commit to adopting anything I proposed either so there's no false hope here.

(I complained about the difficulty finding and understanding overseas payment methods for UK citizens entitled to make national insurance contributions while not working in the UK, towards the UK state pension)

Many people misunderstand the use of colour in material design. What is a "clickable" is often unclear. I think in the gov.uk space its always reasonably clear what is, and is not a clickable element, and what is stylistic markup only.

Re:Making the GOV.UK Front end typography scale more accessible by texxtxxet on Thursday December 15, 2022 @12:54AM (#33995795)
> 1. Remove 14 on the font scale entirely (which used 14px on large screens and 12px on small screens)

HN please take a note and get rid of the tiny `font-size`s on this site please. Some text gets down to 9 or 10px.

Re:Making the GOV.UK Front end typography scale more accessible by detaro on Thursday December 15, 2022 @12:57AM (#33995814)
I assume you mean font-size? Because HN doesn't use any non-standard font-weights?
Re:Making the GOV.UK Front end typography scale more accessible by Am4TIfIsER0ppos on Thursday December 15, 2022 @07:11AM (#33998309)
Why a lengthy blogpost instead of "don't override the user agent's settings regarding size and font"?
Re:Making the GOV.UK Front end typography scale more accessible by razakel on Thursday December 15, 2022 @10:10AM (#34000671)
To explain why it's a problem.