diff --git a/client/modules/IDE/components/EditorAccessibility.js b/client/modules/IDE/components/EditorAccessibility.js index 7b7b7b34..cddd8605 100644 --- a/client/modules/IDE/components/EditorAccessibility.js +++ b/client/modules/IDE/components/EditorAccessibility.js @@ -6,18 +6,24 @@ class EditorAccessibility extends React.Component { } render() { let messages = []; - for (let i = 0; i < this.props.lintMessages.length; i++) { + if (this.props.lintMessages.length > 0) { + for (let i = 0; i < this.props.lintMessages.length; i++) { + messages.push( +
There are no lint messages
); } return ( -line - {this.props.lineNo}
+{this.props.lineNo}