Counselllor / Counsellor-Web

Use valid anchors JS-0739
Anti-pattern
Minor
6 occurrences in this check
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
167      </div>
168      <div className="search">
169        <div className="s_bar_c">
170          <a href="">171            <FaSearch />
172          </a>
173          <div className="vl" />
Anchor used as a button. Anchors are primarily expected to navigate. Use the button element instead. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md
143  </Link>
144</li>
145            <li>
146              <a href="#" onClick={handleSignOut}>147                <FaSignOutAlt /> Log Out
148              </a>
149            </li>
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
133              </a>
134            </li>
135            <li>
136              <a href="#">137                <FaLifeRing /> Career Support
138              </a>
139            </li>
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
128              </a>
129            </li>
130            <li>
131              <a href="#">132                <FaBook /> Courses
133              </a>
134            </li>
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
123              </a>
124            </li>
125            <li>
126              <a href="#">127                <FaBriefcase /> Jobs
128              </a>
129            </li>
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
118        <div className={`menu ${menuOpen ? "show" : ""}`}>
119          <ul>
120            <li>
121              <a href="#">122                <FaUniversity /> Top Universities
123              </a>
124            </li>