Version Number
Docs website (v7 documentation, latest live version)
Codesandbox/Expo snack
Not applicable β issue is related to the documentation website UI (header focus order), not the library API. A reproduction Codesandbox is not relevant because the bug is only present on the live docs site.
Steps to reproduce
-
Go to https://react-hook-form.com/get-started
-
Press Tab from the top of the page
-
Observe the focus order in the header
-
The actual sequence becomes
Search β Dark Mode Toggle β Discord Icon β X Icon β GitHub Icon β Home β Get Started β API β TS β Advanced β ...
-
This order does not match the visual layout of the navigation.
Expected behaviour
The keyboard focus order should follow the visual, logical navigation order:
Search β Dark Mode Toggle β Home β Get Started β API β TS β Advanced β FAQs β Tools β Resources β Releases β Discord β X β GitHub
This aligns with WCAG 2.4.3 (Focus Order), ensuring keyboard users access the main navigation before social/action icons.
What browsers are you seeing the problem on?
Chrome
Relevant log output
No console errors β issue relates to incorrect keyboard focus order in the header.
Code of Conduct