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
39    return (
40      <div className="grid grid-cols-1 md:grid-cols-5 gap-4">
41        {currentContributors.map((contributor, index) => (
42          <div43            key={contributor.login}44            className="bg-white m-2 p-8 rounded-lg shadow-md text-center cursor-pointer transform transition-transform duration-200 hover:scale-105"45            onClick={() => handleProfileClick(contributor.login)}46          >47            <img
48              src={contributor.avatar_url}
49              alt={contributor.login}