简单 HTML 的超凡效能
The unreasonable effectiveness of simple HTML (2021)

原始链接: https://shkspr.mobi/blog/2021/01/the-unreasonable-effectiveness-of-simple-html/

在伦敦一家住房福利办公室进行研究时,作者观察到一名处于困境中的女性,正在使用一台过时的 PlayStation Portable (PSP) 访问 GOV.UK 网站。尽管 PSP 的浏览器“非常糟糕”,但该网站简洁、轻量的 HTML 设计,让她在别无选择的情况下依然能够获取重要信息。 这个故事为网页开发者提供了一个至关重要的启示:无障碍设计不仅仅是关于现代设备,更是为了确保服务能够在用户所拥有的任何硬件上运行,尤其是在他们处于紧急状况时。无论是游戏机、智能电视还是老旧的智能手机,网站都应具备包容性,并在恶劣条件下保持功能完好。 作者主张,开发者应优先考虑纯 HTML,避免不必要的复杂性或对大型 JavaScript 的依赖。通过在低端设备和真实的受限环境下进行测试,开发者能够确保重要的公共服务对每个人都是可访问的。归根结底,目标不是创造华丽的网页体验,而是打造能够切实起作用的工具——即使在用户选择极其有限的情况下。正如那位女性所说,这可能“很烂”,但它确实能用,而这才是最重要的。

Hacker News 最新 | 往日 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 简单 HTML 的不合理有效性 (shkspr.mobi) 23 分,由 luispa 发布于 43 分钟前 | 隐藏 | 往日 | 收藏 | 2 条评论 | 帮助 jonchurch_ 12 分钟前 | 上一条 | 下一条 [–] (2021) 回复 jt2190 12 分钟前 | 上一条 [–] (2021) 回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

I've told this story at conferences - but due to the general situation I thought I'd retell it here.

A few years ago I was doing policy research in a housing benefits office in London. They are singularly unlovely places. The walls are brightened up with posters offering helpful services for people fleeing domestic violence. The security guards on the door are cautiously indifferent to anyone walking in. The air is filled with tense conversations between partners - drowned out by the noise of screaming kids.

In the middle, a young woman sits on a hard plastic chair. She is surrounded by canvas-bags containing her worldly possessions. She doesn't look like she is in a great emotional place right now. Clutched in her hands is a games console - a PlayStation Portable. She stares at it intensely; blocking out the world with Candy Crush.

Or, at least, that's what I thought.

Walking behind her, I glance at her console and recognise the screen she's on. She's connected to the complementary WiFi and is browsing the GOV.UK pages on Housing Benefit. She's not slicing fruit; she's arming herself with knowledge.

The PSP's web browser is - charitably - pathetic. It is slow, frequently runs out of memory, and can only open 3 tabs at a time.

But the GOV.UK pages are written in simple HTML. They are designed to be lightweight and will work even on rubbish browsers. They have to. This is for everyone.

Not everyone has a big monitor, or a multi-core CPU burning through the teraflops, or a broadband connection.

The photographer Chase Jarvis coined the phrase "the best camera is the one that’s with you". He meant that having a crappy instamatic with you at an important moment is better than having the best camera in the world locked up in your car.

The same is true of web browsers. If you have a smart TV, it probably has a crappy browser.

Twitter's guest mode displayed on a TV.

My old car had a built-in crappy web browser.

The dashboard of a BMW i3 - there is a web browser on the central display.

Both are painful to use - but they work!

If your laptop and phone both got stolen - how easily could you conduct online life through the worst browser you have? If you have to file an insurance claim online - will you get sent a simple HTML form to fill in, or a DOCX which won't render?

What vital information or services are forbidden to you due to being trapped in PDFs or horrendously complicated web sites?

Are you developing public services? Or a system that people might access when they're in desperate need of help? Plain HTML works. A small bit of simple CSS will make look decent. JavaScript is probably unnecessary - but can be used to progressively enhance stuff. Add alt text to images so people paying per MB can understand what the images are for (and, you know, accessibility).

Go sit in an uncomfortable chair, in an uncomfortable location, and stare at an uncomfortably small screen with an uncomfortably outdated web browser. How easy is it to use the websites you've created?

I chatted briefly to the young woman afterwards. She'd been kicked out by her parents and her friends had given her the bus fare to the housing benefits office. She had nothing but praise for how helpful the staff had been. I asked about the PSP - a hand-me-down from an older brother - and the web browser. Her reply was "It's shit. But it worked."

I think that's all we can strive for.


Here are some stats on games consoles visiting GOV.UK

联系我们 contact @ memedata.com