Counselllor / Counsellor-Web

Prefer that non-interactive, visible elements (such as <div>) that have click handlers use the role attribute JS-0765
Anti-pattern
Minor
2 occurrences in this check
Avoid non-native interactive elements. If using native HTML is not possible, add an appropriate role and support for tabbing, mouse, keyboard, and touch inputs to an interactive content element
208      </div>
209      <div className="colleges">
210        {filteredColleges.map((college, index) => (
211          <div212            className={`college ${activeIndex === index ? 'active' : ''}`}213            key={college.id}214            onClick={() => handleCollegeClick(college)}215            onTouchStart={() => handleTouchStart(index)}216            onTouchEnd={handleTouchEnd}217          >218            <div className="college-content">
219              <div className="up">
220                <img className="college-image" src={college.imageURL} alt="College Logo" />
Avoid non-native interactive elements. If using native HTML is not possible, add an appropriate role and support for tabbing, mouse, keyboard, and touch inputs to an interactive content element
174            </li>
175          </ul>
176        </div>
177        <div className="hamburger" onClick={toggleMenu}>178          <div className={`bar ${menuOpen ? 'open' : ''}`} />
179          <div className={`bar ${menuOpen ? 'open' : ''}`} />
180          <div className={`bar ${menuOpen ? 'open' : ''}`} />