Postel's Law
UX DesignWhat is Postel's Law
Postel's Law says: "Be liberal in what you accept, and conservative in what you send." It is also called the Robustness Principle. Jon Postel, an early pioneer of the Internet, wrote it as a guideline for TCP software. Designers use it for how interfaces handle user input.
How Postel's Law works
People do not type information the same way. A tolerant interface expects this and is tolerant of the many actions and inputs users could give. What the system sends back, its output and feedback, stays consistent and predictable.
How to apply Postel's Law
- Accept variable input: allow different formats for dates, phone numbers and names
- Translate the input: convert it to the format your system needs
- Define boundaries: decide what input is valid
- Give clear feedback: say what went wrong and how to fix it
Benefits of Postel's Law
Flexible input prevents small slips from turning into errors. The more you anticipate and plan for in the design, the more resilient the interface is for people with different habits, devices and abilities.
Frequently asked questions
What is another name for Postel's Law?
It is also called the Robustness Principle. Jon Postel, an early Internet pioneer, wrote it as a guideline for TCP software.
How does Postel's Law apply to forms?
Accept the different ways people type the same information, such as dates or phone numbers with or without spaces. Convert the input to the format your system needs, and give clear feedback when the input cannot be used.
Does Postel's Law mean a form should accept any input?
No. Be flexible about format, but still define clear boundaries for what is valid and tell users when their input is outside them.
Related terms
View all UX Design terms →Error Prevention
Error prevention is the practice of designing an interface so users are less likely to make errors in the first place. It is the fifth of…
Input Field
An input field, or text field, is a box where users type information , such as a name, email address or password. It is the most common…
Edge Case
An edge case in UX design refers to a rare or extreme usage scenario that occurs outside of normal operating parameters. It represents…
Progressive Enhancement
Progressive enhancement is a design philosophy that provides a baseline of essential content and functionality to as many users as…
Accessibility
Accessibility in UX design refers to creating digital products that can be used by everyone , including people with visual, motor…
