Skip to content

Commit cac6595

Browse files
authored
Merge pull request scratchfoundation#482 from nterray/fix_accessibility_issue_on_buttons
"Add sprite/backdrop" buttons should have a discernible text
2 parents 3795729 + d909b03 commit cac6595

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/target-pane/target-pane.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ const TargetPane = ({
7878

7979
<button
8080
className={classNames(styles.addButtonWrapper, styles.addButtonWrapperSprite)}
81+
title="Add sprite"
8182
onClick={onNewSpriteClick}
8283
>
8384
<img
@@ -88,6 +89,7 @@ const TargetPane = ({
8889

8990
<button
9091
className={classNames(styles.addButtonWrapper, styles.addButtonWrapperStage)}
92+
title="Add backdrop"
9193
onClick={onNewBackdropClick}
9294
>
9395
<img

0 commit comments

Comments
 (0)