Render Flow - Why navigation structure matters
[Read <nav>] -> [Create NAV node] -> [Read <ul>] -> [Create UL as child] -> [Read <li>] -> [Create LI as child] -> [Read <a>] -> [Create A as child] -> [Add text] -> [Close A] -> [Close LI] -> [Close UL] -> [Close NAV]
The browser reads the navigation HTML elements in order, building a tree that represents the navigation structure. This structure helps browsers and assistive technologies understand the page layout.