change labels

This commit is contained in:
MathuraMG 2016-08-25 17:59:02 -04:00
parent b825096640
commit 1803067aeb

View file

@ -51,15 +51,15 @@ class Toolbar extends React.Component {
return ( return (
<div className="toolbar"> <div className="toolbar">
<img className="toolbar__logo" src={logoUrl} alt="p5js Logo" /> <img className="toolbar__logo" src={logoUrl} alt="p5js Logo" />
<button className={playButtonClass} onClick={this.props.startSketch} aria-label="play sketch">
<InlineSVG src={playUrl} alt="Play Sketch" />
</button>
<button <button
className="toolbar__play-sketch-button" className="toolbar__play-sketch-button"
onClick={() => { this.props.startTextOutput(); this.props.startSketch(); }} onClick={() => { this.props.startTextOutput(); this.props.startSketch(); }}
aria-label="play sketch with output text" aria-label="play sketch"
> >
<InlineSVG src={playUrl} alt="Play Sketch with output text" /> <InlineSVG src={playUrl} alt="Play Sketch" />
</button>
<button className={playButtonClass} onClick={this.props.startSketch} aria-label="play only visual sketch">
<InlineSVG src={playUrl} alt="Play only visual Sketch" />
</button> </button>
<button <button
className={stopButtonClass} className={stopButtonClass}
@ -102,9 +102,9 @@ class Toolbar extends React.Component {
<button <button
className={preferencesButtonClass} className={preferencesButtonClass}
onClick={this.props.openPreferences} onClick={this.props.openPreferences}
aria-label="open preferences" aria-label="preferences"
> >
<InlineSVG src={preferencesUrl} alt="Show Preferences" /> <InlineSVG src={preferencesUrl} alt="Preferences" />
</button> </button>
</div> </div>
); );