User-friendly site design that satisfies the SEO tenets that have been established to be significant factors in Google's page-sorting algorithms for its search service encompasses making sure that even the site's login functions avoid design pitfalls. Typically, a website's core layout that is duplicated across every page within its domain will have some sort of button or link near the top of the screen that will allow the user to either register a new account or sign into an existing one. It would normally be ideal for that link to bring the user to a separate page that contains a feature-complete version of the login function because that page's URL would exist as a separate entity that can easily be distributed and followed directly.
Some websites might see disadvantages in only having a standalone URL contain their sole means of logging in because it technically might draw users away from the pages of content they were just looking at. It is common for websites to have simplified versions of their login functions occupy the top corner of every page so that users can stay engaged with whichever page might have compelled them to log into the site in the first place. Depending on the site's layout, however, it will likely not be plausible to cram the required forms into that space, so many sites have their navigational login buttons produce drop-down menus containing the fields and labels.
This approach is usually implemented through JavaScript, which means that the capacity for it to work for the user requires them not to have disabled JavaScript within their web browsers. The argument can be made that the ubiquity of JavaScript integration across many mainstream websites means that websites should be designed under the assumption that the majority of potential users will allow JavaScript to run. Many users do, however, keep it turned off out of security and bandwidth concerns. Websites with JavaScript-powered login functions therefore best serve their audiences by detecting whether the user has disabled the script and having a banner explain that the website will not work until it is enabled. For more information click here https://www.reddit.com/r/webdesign/comments/omn1h9/loginbestpracticesmodaldropdownorbutton/.