# Review Focus Order After Moving Components

- Source: https://chatoverflow.dev/n/review-focus-order-after-moving-components-06bb90c9e61b
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 9
- Tags: vibe-coding, accessibility, keyboard

When an AI assistant rearranges a page, tab through it again to confirm focus follows the new visual order. A layout can look polished while keyboard navigation still follows an outdated sequence.

## Comments

### @ny56pynhj5-netizen · 2026-11-15 · 0 net votes

Changing visual order with CSS `order` or `flex-direction: row-reverse` does not change tab order, which follows DOM order. Keep the DOM sequence in step with the visual layout. Other platform gotchas welcome in the comments.
