Start with the task sequence

A form can look tidy with a mouse and still be difficult to complete with a keyboard. A customer who tabs through a booking request needs to meet the controls in an order that preserves the task: choose a service, enter contact details, review any conditions and submit. W3C WCAG 2.2 success criterion 2.4.3 requires sequentially navigated focusable components to receive focus in an order that preserves meaning and operability when the sequence matters. It does not require a single universal layout or a pixel-by-pixel match between focus and the visual design. The editorial decision is therefore about the customer's mental path, not a mechanical rule that every control must move left to right. Write the intended path down before checking code. A simple numbered list of actions makes it easier to spot a keyboard jump that sends the customer past an explanation or a choice on which the next step depends.

Consider a service form with a choice of in-person or online consultation. Selecting in-person reveals a district selector and an address note. The meaningful order is service type, district, address note where it can be read, then date and contact fields. If the district selector appears at the end of the document merely because it was easier to append, a sighted user may see it beside the choice while a keyboard user reaches it after the submit button. The customer could submit an incomplete request or assume the district was not needed. This is a designed example, not a measurement of a live business. It gives the team a concrete expected sequence against which to test both language versions and both layout widths.

Compare visual, source and focus orders

Review three orders separately: what the page visually implies, what the document source presents to assistive technology, and what receives focus during Tab navigation. W3C technique C27 describes matching source and visual order as a useful way to keep relationships understandable. The technique is an example, not an additional mandatory rule. Independent columns can admit more than one sensible sequence; a customer form usually has stronger dependencies because later questions rely on earlier answers. Record each focus stop, the visible label and the next expected control. Include links, help buttons, radio groups, consent controls and the final action. A static heading may be important to reading order even though it normally is not a Tab stop. Do not turn every explanatory sentence into a focusable element merely to force Tab to visit it.

Perform the comparison at the widths customers actually use, including a narrow phone layout and a wider desktop layout. A responsive design may place a summary panel beside fields on a large screen and above them on a small one. A visual rearrangement using CSS does not automatically rearrange the underlying source or keyboard sequence. If the summary contains an Edit button, decide where that button belongs in the task path at each width. The issue is whether the customer can understand and act on the relationship, not whether the Tab path traces a perfect geometric line. Capture an observed sequence for each layout rather than inferring it from a design mock-up. The resulting note should describe the exact jump, such as from date selection to submit before the newly shown district choice.

Test conditional and changing content

Conditional questions create the most revealing test. Start with no answer, tab through the form, then choose every branch that changes the controls. After each branch, move forward and backward with Tab and Shift+Tab. Confirm that a newly required control appears near the choice that caused it and that hidden controls are not still reachable. Repeat after changing the answer a second time: a customer may select in-person, enter a district and then switch to online. The old district field should not remain an unexplained focus stop or silently affect the request. If the interface inserts a new group, its heading and instructions should be available in the normal reading flow. W3C's focus-order guidance points to inserting dynamic content near its trigger as one documented technique. The decision remains tied to preserving the meaning of this particular form.

A common repair is to put controls in a sensible document order and let the layout follow that order. Review CSS ordering, grids and breakpoint variants for visual moves that separate a label, explanation and action. Avoid using positive tabindex values as a local patch for a broken source structure: they can create a second ordering system that is difficult to maintain when a new field is inserted. If a component needs managed focus, document the reason and test the exit path as well as entry. This article concerns the sequence within the ordinary form; a modal's focus containment is a separate issue. A repair is finished only when someone can repeat the whole task without reaching a control before the information needed to use it.

A worked booking review

Imagine a small clinic's appointment request with service, location, date, contact details, consent and submit. The desktop design places service and location in the left column, date and contact details in the right, and a confirmation strip across the bottom. On mobile the columns stack, but the source originally lists all left-column controls before all right-column controls. That can be reasonable if the mobile stack follows the same sequence. A problem appears when the team visually pulls the confirmation strip above contact details to keep it in view, while its Edit and Submit controls remain later in the source. Inspect what happens rather than treating visual mismatch alone as proof of failure. If the customer can still understand which details are being confirmed and reach the correction control before final submission, the sequence may work. If submission comes before the details it confirms, change the structure.

Create a short acceptance record: the initial Tab order, the in-person branch order, the online branch order, and the order after changing a previous answer. Ask a keyboard-only tester to describe where they expect the next focus to land before pressing Tab; this reveals whether the interface communicates the relationship. Then have a screen-reader user or an appropriately equipped tester inspect the reading sequence separately, because static text can explain a choice without being a Tab stop. Repeat in English and Traditional Chinese: longer labels and different line breaks may alter the visual grouping even if the source order is shared. Record the browser and viewport used, the observed deviation, the intended correction and the retest result. This is a practical test plan, not a claim that one pass certifies the entire site.

Choose an acceptance decision

Treat a sequence as acceptable when it lets the customer understand the question, find dependent controls after their trigger, correct an earlier answer and reach the final action without a misleading jump. A difference between visual and keyboard order deserves review, but the W3C criterion is about preserving meaning and operability; it allows more than one logical order. Do not waive a failure because a mouse user can click the missing field directly. Conversely, avoid a costly rebuild solely to enforce a preferred decorative order when both sequences support the task. A useful issue report names the point where meaning is lost, the affected branch and width, and the customer action that becomes uncertain. That evidence helps designers and developers fix the actual dependency instead of changing arbitrary tab numbers.

Give the owner a compact release decision with three possible outcomes: accept the observed order with a documented reason; repair a branch or breakpoint and retest; or hold the form if a customer can submit without encountering required context. The reason should describe a customer journey, not merely cite a success-criterion number. Keep the test script with the form so later additions, such as a second location choice or a new consent step, are checked against the same path. This is especially important for a small team that changes copy and layout frequently. The immediate next action is to open the live staging form, complete every branch using only Tab and Shift+Tab, and compare the recorded path with the intended task sequence before release.

Release checks

  • Does every branch have a documented keyboard path?
  • Are dependent controls reached after the choice that reveals them?
  • Were both language layouts tested at narrow and wide widths?

Sources & further reading