feat: add keyboard nav with up and down keys in challenge description

This commit is contained in:
Ricky Syamsi
2019-10-10 23:48:15 +07:00
committed by Kristofer Koishigawa
parent 372cba1c4c
commit adef6950c2

View File

@ -65,7 +65,7 @@ export class SidePanel extends Component {
videoUrl
} = this.props;
return (
<div className='instructions-panel' role='complementary'>
<div className='instructions-panel' role='complementary' tabIndex='-1'>
<div>
<ChallengeTitle isCompleted={isChallengeCompleted}>
{title}