Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Visible, non-interactive elements with click handlers must have at least one keyboard listener jsx-a11y/click-events-have-key-events

<div className="magicHelper" onClick={this.handleClick} onKeyDown={this.handleClick}>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #elements #click #handlers #keyboard #listener
ADD COMMENT
Topic
Name
8+7 =