On Brave browser, sometimes when i visit a site, it shows a tor icon on the right side of the search bar. if you click it, it opens the onion url in a new tor tab.
i have not seen any documentation on how to get that functionality on your site though.