Skip to content

Commit c39917f

Browse files
authored
fix(ui5-tabcontainer): make disabled tabs focusable in overflow (#5300)
Fixes: 5131
1 parent 379cc7b commit c39917f

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

packages/main/src/Tab.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ class Tab extends UI5Element {
405405
classes.push(`ui5-tab-overflow-item--${this.design.toLowerCase()}`);
406406
}
407407

408-
if (this.disabled) {
408+
if (this.effectiveDisabled) {
409409
classes.push("ui5-tab-overflow-item--disabled");
410410
}
411411

packages/main/src/TabInOverflow.hbs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
id="{{this._id}}"
33
class="{{this.overflowClasses}}"
44
type="{{this.overflowState}}"
5-
?disabled="{{this.effectiveDisabled}}"
65
aria-disabled="{{this.effectiveDisabled}}"
76
aria-selected="{{this.effectiveSelected}}"
87
aria-labelledby="{{this.ariaLabelledBy}}"

packages/theming/css-vars-usage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,4 +417,4 @@
417417
"--sapToolbar_SeparatorColor",
418418
"--sapWarningBackground",
419419
"--sapWarningBorderColor"
420-
]
420+
]

0 commit comments

Comments
 (0)