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
191      </div>
192      <div className="colleges">
193        {sortedColleges.map((college, index) => (
194          <div195            className={`college ${activeIndex === index ? 'active' : ''}`}196            key={college.id}197            onClick={createHandleCollegeClick(college)}198            onTouchStart={createHandleTouchStart(index)}199            onTouchEnd={handleTouchEnd}200          >201            <div className="college-content">
202              <div className="up">
203                <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
157            </li>
158          </ul>
159        </div>
160        <div className="hamburger" onClick={toggleMenu}>161          <div className={`bar ${menuOpen ? 'open' : ''}`}/>
162          <div className={`bar ${menuOpen ? 'open' : ''}`}/>
163          <div className={`bar ${menuOpen ? 'open' : ''}`}/>