Skip to content

Commit 7147fc0

Browse files
committed
add aria selected to the correct element
1 parent ecdb6f6 commit 7147fc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/clipperUI/components/modeButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class ModeButtonClass extends ComponentBase<{}, ModeButtonProps> {
2929
let idName: string = clipMode + "Button";
3030

3131
return (
32-
<a className={className} id={idName} title={this.props.tooltipText ? this.props.tooltipText : ""}
32+
<a className={className} aria-selected={this.props.selected} id={idName} title={this.props.tooltipText ? this.props.tooltipText : ""}
3333
{...this.enableInvoke(this.buttonHandler, this.props.tabIndex) }>
3434
<img className="icon" src={this.props.imgSrc} />
3535
<span className="label buttonLabelFont"

0 commit comments

Comments
 (0)