Background
In the Codex guidelines the buttons are recommended to be:
- Placement: Buttons in the footer of a form, whether single step or multi-step should be aligned to the leftmost edge of the overall container for LTR and the rightmost edge of the overall container for RTL.
- On mobile: The fields and actions should span 100% of the width of the page or container.
We need to consider whether we want to apply this new format to the Dialog and Popover buttons as well.
| Form with buttons aligned on the left. | Current Dialog with the buttons aligned on the right. | At the moment, if a Dialog is open on a Form, there will be an inconsistency in button positioning, with left-aligned buttons in the Form and right-aligned buttons in the Dialog. |
User stories
- As a user, I need consistent button placement while navigating various Wikimedia projects and pages.
Previous implementations
- Codex demo: Codex Dialog.
Acceptance criteria (or Done)
- Evaluate if we want to update the position and mobile full-width buttons in Dialog and Popover
- Update Dialog and Popover buttons in Codex
- Update the Figma components accordingly
- Update the Using links and buttons guidelines explaining that either Forms, Dialog, and Popover use the same buttons position







