diff --git a/frontend/src/components/file-view/file-toolbar.js b/frontend/src/components/file-view/file-toolbar.js index fd17d708f1..68e80d9a47 100644 --- a/frontend/src/components/file-view/file-toolbar.js +++ b/frontend/src/components/file-view/file-toolbar.js @@ -107,7 +107,7 @@ class FileToolbar extends React.Component { {(canEditFile && !err) && ( this.props.isSaving ? - : ( this.props.needSave ? @@ -149,7 +149,7 @@ class FileToolbar extends React.Component { /> )} - + diff --git a/frontend/src/components/icon-button.js b/frontend/src/components/icon-button.js index 0c0b491c63..c046aacf34 100644 --- a/frontend/src/components/icon-button.js +++ b/frontend/src/components/icon-button.js @@ -47,6 +47,7 @@ class IconButton extends React.Component { className={className} tag="a" href={this.props.href} + aria-label={this.props.text} > {btnContent} @@ -57,6 +58,7 @@ class IconButton extends React.Component { id={this.props.id} className={className} onClick={this.props.onClick} + aria-label={this.props.text} > {btnContent}