Skip to main content
XenonStack

Data Visualization

XenonStack Blog Ethical UX Design: 10 Principles to Avoid Dark Patterns

and | Published | Updated

Ethical UX Design: 10 Principles to Avoid Dark Patterns
10:15

Key takeaway

  • Ethical UX design puts users first. Learn what dark patterns are, 10 practical principles, and how to review a design for deception before launch.

Ethical UX design means building products that help people reach their goal with honest choices, clear information and little friction, even when a manipulative design would earn more in the short term. Its opposite is the dark pattern. Nielsen Norman Group (NN/g) describes a deceptive pattern as a design that "prompts users to take an action that benefits the company employing the pattern", by deceiving, misdirecting, shaming or obstructing the user.

For a CTO, CPO or head of design, the point is practical. Deceptive patterns cause financial loss, privacy loss and loss of control for users, and they work best on people who are short of time or less confident with technology. This guide sets out ten principles you can turn into design reviews, release checks and policy, and shows how they apply when AI agents start to act for users. For the wider discipline, see our guide to user experience design tools and principles.

What is a dark pattern in UX design?

The term "dark patterns" was coined by Harry Brignull in 2010, according to NN/g, which now prefers "deceptive patterns". NN/g groups them into a few families, and the table below maps each one to the question a reviewer should ask.

Two-column diagram pairing four deceptive patterns (obstruction, nagging, preselection, confirmshaming) with ethical controls (one-flow cancel, respect a no, safe defaults, neutral wording).
Pattern family (NN/g)What it looks likeReview question
ObstructionChoices that do not favour the company are hard to reach, such as a buried unsubscribe pathIs leaving as easy as joining?
Visual or wording tricksDouble negatives, confusing wording, exploiting cognitive biasesWould a first-time user read this the way we intend?
NaggingAsking again and again after the user has declinedDoes a "no" stay a "no"?
Emotional manipulationGuilt or shame in link text, often called confirmshamingIs the decline option worded neutrally?
Sneaking or preselectionItems added to a basket or options ticked in advanceDoes the user have to notice and undo anything?

NN/g also draws a line between deception and honest persuasion. Accurate social proof or real scarcity is not deceptive. The line is crossed when the content is fabricated or the design hides information. Source: NN/g, Deceptive Patterns in UX.

What are the 10 principles of ethical UX design?

Each principle below is a design rule you can test. The pattern family it guards against is given in brackets.

1. Notify before you charge

Tell users every time they are about to be charged, when a trial or subscription is ending, and before any automatic renewal. Surprise charges are the fastest way to lose trust. (Hidden costs and sneaking.)

2. Show the downside as clearly as the upside

Do not hide negative information to protect conversion. Give users the full picture of a decision in plain words so they choose with confidence. (Visual or wording tricks.)

3. Default to the option that is safest for the user

Do not preselect newsletter sign-ups, add-ons or data sharing. A default should protect the user, not the funnel. (Sneaking or preselection.)

4. Put user value ahead of short-term revenue

A feature that serves users may cost a little revenue now, but it builds the trust that retention depends on. Make this an explicit review criterion, not an afterthought. (Misaligned incentives.)

5. Be transparent about price

What the user sees at the start should be what they pay at the end. Show taxes, fees and charges before checkout, not at the last step. (Hidden costs.)

6. Stop spamming

Send only the messages people need. If a notification type is never opened, reduce or stop it rather than escalating. (Nagging.)

7. Be open about privacy

Do not bury what you collect inside a policy nobody reads. Show users, at the point of collection, what is gathered and why. (Obstruction and wording tricks.)

8. Make offers honest

No fake urgency, fake discounts or vouchers with no real value. Scarcity and social proof must be true. (Emotional manipulation and fabricated content.)

9. Make cancelling as easy as signing up

If a user can join in one flow, they should be able to leave in one flow, without having to phone support, send an email or read through a help centre first. (Obstruction.)

10. Ask for permission and respect the answer

Ask for consent before sharing or selling user data, explain the purpose, and do nothing in the background without it. Keep the "decline" option as visible as "accept". (Nagging and preselection.)

How do you review a design for deception?

NN/g suggests testing with users but not relying on testing alone, because mild deceptive patterns often go unnoticed by participants. It recommends an amended cognitive walkthrough in which the reviewer asks whether users could overshare data, misread a choice, miss an option, or feel rushed, pressured or ashamed. It also recommends building a persona of your most vulnerable user, and speaking up when a deceptive pattern is proposed. A simple adoption sequence follows.

StepWhat to doWho owns it
1. Write the rulesTurn the ten principles into a short checklist for your design systemHead of design
2. Review at design timeRun the amended cognitive walkthrough on sign-up, checkout, consent and cancellation flowsDesign and product
3. Test with real usersInclude a vulnerable-user persona and watch for confusion, pressure and missed optionsUX research
4. Gate the releaseAdd the checklist to the definition of done for any flow that charges, collects data or cancelsEngineering and product
5. Monitor after launchTrack complaints, cancellation friction and opt-out rates, not only conversionProduct analytics

Related reading: user experience testing tools, interaction design principles and methods and conversational user interface best practices.

How does accessibility connect to ethical design?

An interface that people cannot operate is unethical by outcome, whatever the intent. WCAG 2.2 became a W3C Recommendation on 12 December 2024 and adds nine success criteria. Several bear directly on honest, low-friction flows.

WCAG 2.2 criterionLevelWhy it matters for ethical flows
3.3.7 Redundant EntryAUsers are not forced to retype information they already gave
3.3.8 Accessible Authentication (Minimum)AASign-in does not depend on a cognitive test
3.2.6 Consistent HelpAHelp is found in the same place on each page
2.5.8 Target Size (Minimum)AAButtons such as "decline" or "cancel" are easy to hit

Source: W3C, Web Content Accessibility Guidelines 2.2.

Do regulations address dark patterns?

Yes, increasingly. The EU Digital Services Act (Regulation (EU) 2022/2065) contains provisions on how online platforms design and organise their interfaces, and consumer and data protection law can also apply to deceptive design. Rules differ by country and by type of service, so confirm the exact wording and scope on the official EUR-Lex page and with your legal team. This article is not legal advice.

What changes when AI agents act for users?

When an agent subscribes, buys, consents or cancels on a user's behalf, the same principles apply to the agent's behaviour, and the audit question becomes harder: who approved what, under which policy? ElixirData Context OS keeps governed context, versioned policy and decision traces in one decision layer above AI agents, and Elixir Govern (formerly AgentGRC) keeps autonomous agent actions inside policy, with the audit trail risk teams need.

When is persuasive design acceptable, and when is it not?

PracticeAcceptable whenNot acceptable when
Scarcity messageThe stock or deadline is realThe timer or count is invented
Social proofNumbers and reviews are accurateThey are fabricated or selectively shown
DefaultsThey protect the userThey favour the business and are hard to undo
RemindersThey are useful and can be switched offThey repeat after the user declined

Conclusion

Ethical UX design is a set of checkable decisions: tell people before you charge them, show the downside, default to safety, price honestly, respect a no, and let them leave easily. Teams that write these rules down and review against them reduce harm and build trust that lasts longer than any single conversion gain. Explore our product design and user experience solutions for more.

To map one decision your agents should make for users, and the context and policy it depends on, book a Context Workshop. See what happens in the workshop.

Frequently asked questions

What is ethical UX design?

It is designing products so users can reach their goals with honest choices, clear information and low friction, rather than being steered by deception.

What is a dark pattern?

According to NN/g, a deceptive pattern is a design that prompts users to take an action that benefits the company, by deceiving, misdirecting, shaming or obstructing them.

Who coined the term dark patterns?

Harry Brignull coined it in 2010, according to NN/g.

Is persuasive design always unethical?

No. NN/g notes that accurate social proof and real scarcity are not deceptive. Persuasion becomes deception when content is fabricated or information is hidden.

How can teams check a design for deception?

Run an amended cognitive walkthrough, test with a vulnerable-user persona, and do not rely on user testing alone, since mild patterns often go unnoticed.

Does accessibility matter for ethical design?

Yes. WCAG 2.2, a W3C Recommendation since 12 December 2024, includes criteria such as Redundant Entry and Accessible Authentication that reduce unfair friction.

Follow XenonStack on LinkedIn: XenonStack on LinkedIn for new guides on agentic AI, data and platform engineering.

Ready to put AI agents to work? Explore ElixirClaw, the agentic OS platform to build, orchestrate and govern AI agents.

Table of Contents

navdeep-singh-gill

Navdeep Singh Gill

Global CEO and Founder of XenonStack

LinkedIn profile

Navdeep Singh Gill is serving as Chief Executive Officer and Product Architect at XenonStack. He holds expertise in building SaaS Platform for Decentralised Big Data management and Governance, AI Marketplace for Operationalising and Scaling. His incredible experience in AI Technologies and Big Data Engineering thrills him to write about different use cases and its approach to solutions.

Get the latest articles in your inbox

Subscribe Now

Interested in solving your challenges with the XenonStack team?
Get Started

Tell us about you and your priorities so we can prepare the right conversation. It takes about 2 minutes.

Please Select your Industry
Banking
Fintech
Payment Providers
Wealth Management
Discrete Manufacturing
Semiconductor
Machinery Manufacturing / Automation
Appliances / Electrical / Electronics
Elevator Manufacturing
Defense & Space Manufacturing
Computers & Electronics / Industrial Machinery
Motor Vehicle Manufacturing
Food and Beverages
Distillery & Wines
Beverages
Shipping
Logistics
Mobility (EV / Public Transport)
Energy & Utilities
Hospitality
Digital Gaming Platforms
SportsTech with AI
Public Safety - Explosives
Public Safety - Firefighting
Public Safety - Surveillance
Public Safety - Others
Media Platforms
City Operations
Airlines & Aviation
Defense Warfare & Drones
Robotics Engineering
Drones Manufacturing
AI Labs for Colleges
AI MSP / Quantum / AGI Institutes
Retail Apparel and Fashion

Continue