“解决一个很大程度上是想象出来的用户目标”
"Solving a largely imaginary user goal"

原始链接: https://unsung.aresluna.org/solving-a-largely-imaginary-user-goal/

Lea Verou 主张简化网站深色模式切换功能,建议用一种“智能”双状态界面取代复杂的三状态选择器(浅色、深色、系统)。三状态切换开关往往迫使用户处理令人困惑的、基于实现逻辑的选项,而 Verou 的方案仅提供“浅色”和“深色”两个选项,以此保持简洁。 在这种模式下,若用户选择与系统设置相符的主题,网站会自动恢复为“跟随系统”模式;若选择相反的主题,则会覆盖系统设置,将网站锁定在该模式下,直到用户重置。 作者承认,虽然 Verou 最初的解释有些晦涩,但其核心提案是“以用户为中心”的设计典范。通过抽象底层的技术模型,这种智能开关减少了认知负荷,并避免了暴露不必要的系统复杂性。文章最终强调,比起以开发者为中心的界面,优先考虑优雅且有目的的设计至关重要,因为这些“细微”决策的累积决定了数字产品的整体质量和可用性。就像简单多功能电源按钮的演变一样,智能 UI 设计通过隐藏复杂性,创造了更直观的用户体验。

Sorry.
相关文章

原文

On her blog, Lea Verou makes a case that each user-facing website dark-mode toggle should only ever show two options, but in a smart way.

The challenge is that any dark mode toggle needs to actually accommodate three options: dark, light, and the default “whatever the system says” (which can be always dark, always light, or change with the time of day). Many toggles simply pass that complexity onto the user:

I want to get something out of the way: I don’t think Verou’s article as an article is fully successful. I feel like it spends a great amount of words to explain something not entirely as complex, and even the interactive playgrounds felt slightly too rigid and altogether confusing. If you care about (interactive) explainers, it might be an interesting case study in and of itself.

But I am very much much on board with the proposal and the line of thinking it represents. Verou suggests a “smart” dual state toggle, which still allows the website to follow the system, but shoves the complexity of the “whatever the system says” branch into the crevices between visible UI. Here’s how I understand it:

  • The smart toggle only has two options: light and dark. Mechanically, clicking or tapping the toggle brings you to the opposite option. Simple.
  • If your new option is the opposite of system (e.g. you switch the page to dark mode if your system is in light mode), it will stay in that theme forever, no matter what the system does in the future.
  • If your new option is one that currently matches the system, it will then continue following the system in perpetuity (e.g. it’s back to the default behaviour).

This toggle will feel compromised, and you might immediately find some rare use case it doesn’t fully support – maybe attached to an imaginary user, or even an internal user giving you feedback in person. But Verou is absolutely correct in her insistence to fight through that:

Tri-state toggles are implementation-driven UI. One of the most common UX mistakes is designing UI around the underlying data model instead of user goals. Good interfaces abstract away the underlying model and expose a model that aligns with user goals (unless of course these happen to coincide, which is rare).

Now, it’s just a dark mode toggle. It might not seem like a difference between a smart dual state toggle and an explicit tri-state toggle is that much. But:

  • “Whatever the system says” is not just one extra option. It’s also one extra weird option. It doesn’t feel like the other two. It’s seemingly repetitive. It’s often unclear what it does before clicking. It’s not obvious where to put it in order. Verou doesn’t mention this in her post, but even just seeing the word System next to Light and Dark feels complicated. (Auto is slightly better.) The cognitive load here might be larger than it seems.
  • What is an interface if not a collection of a million challenges, each one seemingly insignificant on its own? Trivial things add up. One compromise here and one cheap decision there, and soon you’re talking real money.
  • Thinking deeply about something like this gives one practice for dealing with complexity elsewhere, and facing even more difficult challenges where the stakes are higher and the compromises larger.

A similar example might be that of PC keyboards in the late 1990s, which also exposed system complexity and pestered people with Power/​Sleep/Wake keys:

Computers do not do that anymore, simply having a smarter singular power button, piped to a more sophisticated logic underneath.

联系我们 contact @ memedata.com