Clarify wizard header controls #4
No files matched your search
@@ -12,12 +12,14 @@ icons use the same icon family and have accessible labels.
|
||||
<button type="button" data-modal-navigation aria-label="Back" title="Back">...</button>
|
||||
<button type="button" data-modal-navigation aria-label="Next" title="Next">...</button>
|
||||
<h2 id="job-title">Backup job</h2>
|
||||
<div class="modal-head-actions"><button type="submit" aria-label="Save" title="Save">...</button></div>
|
||||
</div>
|
||||
<div class="modal-body">...</div>
|
||||
<div class="modal-foot"><button type="submit">Save</button></div>
|
||||
</dialog>
|
||||
```
|
||||
|
||||
The shared shell places close and navigation on the left and centers the title.
|
||||
The footer action is text only. A dialog without wizard steps omits navigation;
|
||||
The navigation pair stays visible with unavailable directions disabled, separated
|
||||
from close. The highlighted save icon stays at the far right of the header.
|
||||
A dialog without wizard steps omits navigation;
|
||||
its content and actions remain specific to that dialog.
|
||||
@@ -25,7 +25,10 @@ closed → open → submitting → success | error
|
||||
dismissal, busy handling or wizard navigation controls.
|
||||
- Place the close control at the left of the header, as in macOS, and center
|
||||
the title in the modal. Place wizard back and next controls beside the close
|
||||
control, using a matching left/right icon pair. Keep primary and other header
|
||||
control, using a matching left/right icon pair visually separated from close.
|
||||
Keep both arrows visible on every step and disable unavailable directions.
|
||||
Put the highlighted, icon-only save action at the far right of the header on
|
||||
every step; validate the workflow when it is submitted. Keep other header
|
||||
actions accessible without overlapping the title, including on narrow screens.
|
||||
- Modal footers contain no icon buttons. Where an action belongs in the footer,
|
||||
use a text-labelled button that states the action. Do not hide required actions.
|
||||
|
||||
Reference in new issue
Block a user