Mosmoxmosmox

Mosmox journal

In focus — UI design.

A selection of publications grouped under the UI design tag.

The Primary Action Button in Mobile UI: How to Make It Clear

The Primary Action Button in Mobile UI: How to Make It Clear

The primary action button is not a decorative element at the bottom of the screen. It completes the user’s decision and tells them what will happen when they tap it. If the label is vague, the colour doesn’t stand out from other elements or the loading state is unclear, the interface creates doubt at exactly the critical moment — before paying, submitting a request or confirming a booking.

In audits we see that button problems rarely have to do with colour, the thing people argue about most. Far more often they lie in the label, the states and the behaviour on a slow network: duplicate orders, “dead” buttons with no explanation, entered data disappearing. Below is how we design the primary action, which numeric benchmarks we use and what we always test.

One action, one emphasis

It should be clear on every screen what the main outcome is. If two buttons look equally prominent, the user spends time comparing them. If there is a secondary action, it should be visually quieter — an outlined or text button — but not invisible. Destructive actions such as “Delete” or “Cancel order” should be separated from the primary one and marked with the error colour.

Material Design 3 builds hierarchy through button types: filled for the primary action, tonal or outlined for secondary ones, text for the least important. Apple’s Human Interface Guidelines follow the same logic: a screen should have no more than one strongly emphasised button, and its style signals how important the action is.

The label: a verb and a consequence

“Pay ₴450”, “Book for 14:30”, “Send request” describe the consequence far better than a generic “Next” or “OK”. The user sees exactly what will happen and doesn’t have to re-read the screen.

  • Start with a verb: “Save”, “Add”, “Confirm”.
  • Add the object or amount if it removes doubt: “Pay ₴1,200”.
  • Avoid technical terms: “Submit”, “Execute request”.
  • Keep it short — two or three words — so it isn’t truncated with large fonts or long translations.
  • Keep the label consistent with the heading and confirmation: if the button says “Book”, the message says “Booking confirmed”.

Size, contrast and placement

Buttons come with concrete numeric requirements, and they belong in the design system rather than being checked by hand on every screen.

ParameterBenchmarkSource
Touch target on Androidat least 48 × 48 dpAndroid accessibility guidelines
Touch target on iOSat least 44 × 44 ptApple Human Interface Guidelines
WCAG 2.2 minimum target size (AA)24 × 24 CSS px or sufficient spacingWCAG 2.5.8 Target Size (Minimum)
Button text contrastat least 4.5:1 for normal textWCAG 1.4.3
Button boundary contrast against backgroundat least 3:1 for UI componentsWCAG 1.4.11 Non-text Contrast
Spacing between adjacent actions8 dp or moreStudio benchmark

On mobile we usually anchor the primary action at the bottom, within easy reach of the thumb, and make sure the keyboard doesn’t cover it. If the form is long, the button can stick above the keyboard or appear once the user scrolls to the end — what matters is that nobody has to hunt for it.

Button states

StateWhat the user seesTypical mistake
EnabledAccent colour, clear labelLooks like other elements on the screen
DisabledMuted appearance and an explanation of what is missingA “dead” button with no hint at all
In progressAn indicator inside the button, repeat taps blockedButton stays active, the request is sent twice
SuccessConfirmation and the next stepA silent screen change with no feedback
ErrorA clear message, data preserved, retry possibleA cleared form and a technical error code

There are two schools of thought on disabled buttons. One disables the button until the form is complete. The other keeps it active and shows errors after the tap. For long forms we more often choose the second: the person taps, sees which field was missed, and focus moves there. A disabled button with no explanation forces people to guess.

Slow networks and double taps

Don’t change a field or button in a way that leaves the user unsure whether the request has already been sent. For file uploads or slow networks, block repeat taps, keep the data and show progress. On the API side, pass an idempotency key: even if the request does arrive twice, the server creates one order, not two. In our experience, double payments and duplicate requests are the most expensive consequence of a poorly designed “in progress” state.

Step-by-step check

  1. Read only the button labels in a scenario in sequence: do they make clear what is happening?
  2. Check that every screen has one distinct primary action.
  3. Turn on a slow network and tap the button several times quickly.
  4. Cut the connection mid-request: what does the user see, and is the data preserved?
  5. Go through the scenario with TalkBack and VoiceOver: the button has a clear name and state.
  6. Set the system font to maximum: the label isn’t truncated and the button doesn’t disappear.
  7. Check visible focus when navigating with a keyboard or switch access.

Common mistakes and checklist

  • Several equally prominent buttons on one screen.
  • A generic “Next” where the action has consequences: payment, submission, deletion.
  • A destructive action next to the primary one with no confirmation or undo.
  • An icon without text as the primary action.
  • A button covered by the keyboard or the system navigation bar.

Before release we check that: the label describes the consequence; the touch target is at least 48 dp / 44 pt; contrast meets WCAG; repeat taps are blocked during a request; an error doesn’t wipe data; and the screen reader announces the button correctly. If the button completes a form, check the form itself too — see “Mobile forms: how to reduce data-entry errors”.

Android quality guidance recommends consistent standard patterns. Test not only taps but errors, slow responses, resubmission and going back — we covered back behaviour in our article on navigation. A good button doesn’t just lift conversion — it reduces uncertainty and accidental actions.

Sources: Android Developers: What a great user experience looks like; Android Developers: Make apps more accessible; Apple Human Interface Guidelines: Buttons; Material Design 3: Buttons; WCAG 2.2: Non-text Contrast; WCAG 2.2: Target Size (Minimum).

How to Design Clear Navigation for a Mobile App

How to Design Clear Navigation for a Mobile App

Navigation should help users answer two questions: where am I now, and where can I go next? If answering them requires memorising the menu structure or going back several times, the interface is shifting its complexity onto the person. And the person pays for it in time, errors and the feeling that the app is “confusing”.

In our projects we design navigation before the visual style: first a map of tasks and screens, then a choice of pattern, and only after testing with people — the design. Reworking navigation after release is expensive: deep links, analytics and user habits all change. Below is a practical working order, a comparison of the main patterns and the mistakes we see most often in audits.

Start with tasks, not the company structure

List the most frequent actions and rank them by importance. Primary navigation should reflect the user’s task model, not the company’s org chart or the database structure. Labels should be concrete: “Orders”, “Messages”, “Profile” are clearer than internal categories like “Services” or “My space”.

  1. Collect tasks from interviews, support tickets and analytics: what people do most often and what matters most to them.
  2. Run a card sort with 15–20 participants to see how they group features themselves and what they call them.
  3. Choose 3–5 primary sections — that is usually how many fit in a bottom bar without losing legibility.
  4. Draw a screen map with every transition, including entry from push notifications and links.
  5. Validate the structure with tree testing before design: can people find the right item from labels alone?

Mobile navigation patterns

Material Design 3 recommends a bottom navigation bar for three to five primary destinations and a navigation rail on wider screens. In Apple’s Human Interface Guidelines the tab bar plays the same role: on iPhone it shows up to five tabs, with the rest moving into a “More” tab. This is how we choose a pattern.

PatternWhen it fitsLimitations
Bottom bar / tab bar3–5 equally important sections that people switch between oftenCan’t hold more than five items without losing legibility
Navigation railTablets, foldables, landscape orientationTakes horizontal space on narrow screens
Hidden menu (drawer, “hamburger”)Secondary sections: settings, help, legal informationReduces feature discoverability if primary sections are hidden there
Top tabsSwitching between views of the same content: “Active”, “Archive”Not a replacement for primary navigation
Search as navigationA large catalogue where people know what they are looking forDoesn’t help people who don’t yet know what the thing is called

Research supports the risk of hidden menus. In a 2016 Nielsen Norman Group study (179 participants, six sites, mobile), navigation was used in 89% of tasks on a site with combined, partly visible navigation, but only in 44–56% of tasks on sites with fully hidden menus. The study looked at mobile websites, but the logic for apps is the same: what people can’t see, they use less.

Principles of mobile navigation

  • Persistent primary sections should be reachable without opening a hidden menu.
  • Indicate the current state with text, colour and shape, not colour alone — this matters for accessibility.
  • The back button should follow the expected history, not jump to a random screen.
  • Each tab keeps its own state: returning to “Catalogue”, the person sees the same place in the list.
  • Replace deep hierarchies with search, filters or contextual actions.
  • Labels under icons are mandatory: most icons are ambiguous without text.

The back button and deep links

Most of the navigation complaints we see are not about menus but about going back. Android’s principles of navigation describe the expected behaviour: the screen stack has a fixed start destination, and the system back button or gesture walks back through history in reverse order. If someone opened a product from a push notification, back should take them to a logical parent screen — the catalogue or home — not close the app.

It is also worth supporting predictive back — the gesture that, since Android 13, previews the screen that going back will lead to. For this, the app must handle back navigation through modern APIs rather than intercepting it manually. On iOS the expectation is different: a swipe from the left edge returns to the previous level, so avoid placing horizontal carousels or gestures there that conflict with it.

How to test navigation

Test navigation without prompts: ask a person to find a specific item and explain where they expect to land after tapping. If users comment on labels or look for a feature somewhere other than where the team expected, that is data for improvement, not “carelessness”.

  • Task success rate without moderator help.
  • First click: whether the person chose the right section on the first attempt.
  • Time to find and the number of back-steps.
  • In analytics: the share of sessions where users bounce between the same screens repeatedly, and search queries that duplicate the names of existing sections.

Common mistakes

  • Seven or eight items in the bottom bar with tiny labels.
  • Primary features hidden in a hamburger menu.
  • Different navigation on iOS and Android for no reason other than development history.
  • Icons without labels, or labels in internal jargon.
  • Resetting a tab’s state every time the user switches.
  • A deep link after which back closes the app.

Navigation checklist

  • Primary sections match the user’s main tasks, and there are no more than five.
  • The current section is indicated in more than one way, not colour alone.
  • Back behaves predictably, including after arriving from push notifications and links.
  • Each tab’s state is preserved.
  • Navigation adapts to tablets and foldables.
  • The structure has been validated with tree testing before design and usability testing after.

Android’s guidance recommends standard components and consistent interaction patterns. This reduces cognitive load, especially as people move between different apps. Good navigation doesn’t draw attention to itself: it creates a sense of control and lets people focus on their task. That matters most at first launch — more in “The first 60 seconds in an app”.

Sources: Android Developers: What a great user experience looks like; Android Developers: Principles of navigation; Android Developers: Predictive back gesture; Material Design 3: Navigation bar; Apple Human Interface Guidelines: Tab bars; Nielsen Norman Group: How to Make Navigation (Even a Hamburger) Discoverable on Mobile.

Journal

Ideas and products