Skip to content

Commit 2b95c0c

Browse files
authored
fix(ui5-split-button): adjust labelledby reference (#11867)
Issue: - The invisible label containing the accessible role and other screen reader announcements is not properly linked to the focusable button element. Fixes: #11893
1 parent 1b8ac70 commit 2b95c0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/main/src/SplitButtonTemplate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default function SplitButtonTemplate(this: SplitButton) {
88
role={this._hideArrowButton ? "button" : "group"}
99
class="ui5-split-button-root"
1010
tabindex={this._tabIndex}
11-
aria-labelledby={`${this._id}-invisibleTextDefault ${this._id}}-invisibleText`}
11+
aria-labelledby={`${this._id}-invisibleTextDefault ${this._id}-invisibleText`}
1212
onFocusOut={this._onFocusOut}
1313
onKeyDown={this._onKeyDown}
1414
onKeyUp={this._onKeyUp}

0 commit comments

Comments
 (0)