Last analyzed e2ce633 5 months ago
Default analysis branch is
Currently analyzing run
Prefer that non-interactive, visible elements (such as <div>) that have click handlers use the role attribute JS-0765
Anti-pattern
5 months ago5 months old
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
18          <Card.Title>{title}</Card.Title>
19          <Card.Text>{description}</Card.Text>
20          <div className="d-flex">
21          <i className="fa-solid fa-trash" onClick={()=>{deleteNote(_id)}}></i>22          <i className="fa-solid fa-pen-to-square"></i>
23          </div>
24        </Card.Body>