diff --git a/app/assets/javascripts/components/components/icon_button.jsx b/app/assets/javascripts/components/components/icon_button.jsx index 509192260926b501810e917f69a34241aecf552a..085c185413cfc9adc84129d688549b51f248bbcd 100644 --- a/app/assets/javascripts/components/components/icon_button.jsx +++ b/app/assets/javascripts/components/components/icon_button.jsx @@ -35,9 +35,9 @@ const IconButton = React.createClass({ }; return ( - <a href='#' title={this.props.title} className={`icon-button ${this.props.active ? 'active' : ''}`} onClick={this.handleClick} style={style}> - <i className={`fa fa-fw fa-${this.props.icon}`}></i> - </a> + <button aria-label={this.props.title} title={this.props.title} className={`icon-button ${this.props.active ? 'active' : ''}`} onClick={this.handleClick} style={style}> + <i className={`fa fa-fw fa-${this.props.icon}`} aria-hidden='true'></i> + </button> ); } diff --git a/app/assets/stylesheets/components.scss b/app/assets/stylesheets/components.scss index b720848c544974e53a780173a2ef25a54329ef11..704462dc1a70ab82ab69c641cb444d6ff8672712 100644 --- a/app/assets/stylesheets/components.scss +++ b/app/assets/stylesheets/components.scss @@ -42,7 +42,8 @@ .icon-button { color: #616b86; - cursor: pointer; + border: none; + background: transparent; &:hover { color: #717b98;