DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+7 =
Submit