kashi326 / inertia-react-laravel-template

Use valid anchors JS-0739
Anti-pattern
Minor
2 years ago2 years old
The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md
31                </div>
32                <div className="login-card-footer">
33                    <button className="custom-button">Login</button>
34                        <a href="#" className={"forgot"}>Forgot username or password?</a>35                </div>
36
37            </div>