diff --git a/client/src/templates/Challenges/classic/Editor.js b/client/src/templates/Challenges/classic/Editor.js index 746d43bb7c..104dc92198 100644 --- a/client/src/templates/Challenges/classic/Editor.js +++ b/client/src/templates/Challenges/classic/Editor.js @@ -328,43 +328,46 @@ class Editor extends Component { const editorTheme = theme === 'night' ? 'vs-dark-custom' : 'vs-custom'; // TODO: tabs should be dynamically created from the challengeFiles - // TODO: a11y fixes. // TODO: is the key necessary? Try switching themes without it. return ( }>
{challengeFiles['indexjsx'] && ( -
this.changeTab('indexjsx')} + role='tab' > script.jsx -
+ )} {challengeFiles['indexhtml'] && ( -
this.changeTab('indexhtml')} + role='tab' > index.html -
+ )} {challengeFiles['indexjs'] && ( -
this.changeTab('indexjs')} + role='tab' > script.js -
+ )} {challengeFiles['indexcss'] && ( -
this.changeTab('indexcss')} + role='tab' > styles.css -
+ )}