User Experience (UX)
User experience (UX) is what people experience when they use a product: whether they reach their goal quickly, understand errors, and are not shut out. The user interface is only one part of it.
User experience (UX) is the whole of what people experience when they use a product: Do they find what they are looking for? Do they reach their goal without detours? Do they understand what goes wrong? And can everyone use the product, with a keyboard or a screen reader too?
UX is more than the user interface
The user interface is what you see and touch. UX is the result of the user interface, speed, clarity, error handling, and accessibility together. A beautiful page that stays silently empty after a form is submitted has a bad UX. A plain page that loads at once and names every error has a good one.
What developers in .NET contribute
UX is made in code too, not only in the design:
- A fast first display. Blazor can create pages statically on the server as HTML. According to Microsoft's description, the page loads fast as a result, because the user interface is created without a large JavaScript bundle. You switch interactivity on where it is needed: on the server, in the browser through WebAssembly, or switching automatically.
- Thinking of the states. Every list can be empty, every request can fail, every page can report "not found". Whoever builds only the normal case leaves these cases to chance.
- Accessibility. The Web Content Accessibility Guidelines (WCAG) are the worldwide standard. They describe how content becomes perceivable, operable, understandable, and robust. A check with the keyboard, a screen reader, and tools such as Accessibility Insights is part of finishing, not of polishing.
- Forms that forgive. Error messages at the field, input that is kept, clear labels.
How it differs
- UX and UI are often confused: UI is one part of UX.
- UX is not a matter of taste. It can be observed: where do users get stuck, how long does a task take, how many give up?
- UX exists without a screen too. An API has a developer experience: understandable errors, a description, stable contracts.
An example from the Kladde
The public booking page is meant to work without a phone call: choose a day, choose a free time, enter a name and an address, done. The form works without script through normal links and a POST. The pages show messages of their own for empty lists and unknown addresses, not just an error code, and after a page change the focus is set on the heading so that screen readers announce the change.
In the course
UX topics are spread over several lessons. You learn accessibility in K2, module 2.1, in Accessibility with WCAG 2.2, and in module 2.5 in Accessible components. Dealing with empty lists and errors is the topic of Errors, empty lists and “not found”. This is not a course of its own on design and user research: the course stays with what developers influence themselves.