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
1 occurrence 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
186      </div>
187      <div className="colleges">
188        {filteredColleges.map((college, index) => (
189          <div190            className={`college ${activeIndex === index ? 'active' : ''}`}191            key={college.id}192            onClick={() => handleCollegeClick(college)}193            onTouchStart={() => handleTouchStart(index)}194            onTouchEnd={handleTouchEnd}195          >196            <div className="college-content">
197              <div className="up">
198                <img className="college-image" src={college.imageURL} alt="College Logo" />