Live data from Hacker News

How to make a great government website

asteriskmag.com

1–10 of 74 posts

Re: How to make a great government website

#2
Dave Guarino needs to read Seeing Like a State, Seeing Like a Bank, and Seeing Like a Data Structure. And then write his own Seeing Like a Government Website.

https://yalebooks.yale.edu/book/9780300078152/seeing-like-a-...

https://www.bitsaboutmoney.com/archive/seeing-like-a-bank/

https://www.belfercenter.org/publication/seeing-data-structu...

Re: How to make a great government website

#5
post #3

Ctr+F "javascript" -- no results. Hmm, if a government website necessitates the use of JavaScript, I'd consider that a hallmark of being awful.

I’m not sure if this is a joke but if not..

Governments often have complicated forms that need to cater for a broad range of users. So you need things like conditioning steps, file uploads and progress saving.

Have fun doing that in pure HTML and CSS.

Re: How to make a great government website

#6
post #5
post #3

Ctr+F "javascript" -- no results. Hmm, if a government website necessitates the use of JavaScript, I'd consider that a hallmark of being awful.

I’m not sure if this is a joke but if not.. Governments often have complicated forms that need to cater for a broad range of users. So you need things like conditioning steps, file uploads and progress saving. Have fun doing that in pure HTML and CSS.

Broad range of users means keeping it simple and sticking to the standards.

The complexity of government forms is not about fancy custom dialogs, elaborate data types or cute animations. There are usually a lot of (simple) questions. Yes/no, checkboxes, dates and times, free fields. The list is not endless.

These forms needs to be frustration free as possible. IME all easy targets if you don’t use JS.

Re: How to make a great government website

#7
post #5
post #3

Ctr+F "javascript" -- no results. Hmm, if a government website necessitates the use of JavaScript, I'd consider that a hallmark of being awful.

I’m not sure if this is a joke but if not.. Governments often have complicated forms that need to cater for a broad range of users. So you need things like conditioning steps, file uploads and progress saving. Have fun doing that in pure HTML and CSS.

gov.uk recommends having a single question per page - principally to make the form easier for users, but it also means you can handle progress saving and conditional sections and so on server-side.

https://www.gov.uk/service-manual/design/form-structure

Re: How to make a great government website

#8
post #5
post #3

Ctr+F "javascript" -- no results. Hmm, if a government website necessitates the use of JavaScript, I'd consider that a hallmark of being awful.

I’m not sure if this is a joke but if not.. Governments often have complicated forms that need to cater for a broad range of users. So you need things like conditioning steps, file uploads and progress saving. Have fun doing that in pure HTML and CSS.

I do, thanks.

https://design-system.service.gov.uk/

(I'm aware the design system has a sprinkling of JS, but it offers a few in-page enhancements and works just fine without)

Re: How to make a great government website

#9
post #3

Ctr+F "javascript" -- no results. Hmm, if a government website necessitates the use of JavaScript, I'd consider that a hallmark of being awful.

It's 2024. We've got to stop with the not everyone has javascript meme.

Anyone browsing the internet without it at this point is doing it intentionally to be special.

Re: How to make a great government website

#10
post #3

Ctr+F "javascript" -- no results. Hmm, if a government website necessitates the use of JavaScript, I'd consider that a hallmark of being awful.

I worked in the public sector of Denmark for years and you’re going to have some real issues handling authorisation of users from external sources such as our digital identity called mitID without JavaScript.

Some forms and many parts of a government website can indeed be done without JS and should at the very least be done with server side rendering to minimise the usage of JS as much as possible. But large parts of a “modern” government website will typically require some JS in order to operate properly.

Post reply on HN