change labels
This commit is contained in:
parent
b825096640
commit
1803067aeb
1 changed files with 7 additions and 7 deletions
|
@ -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>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue