Skip to content

Commit 4bd3604

Browse files
authored
fix(ui5-tabcontainer): aria-controls now points to an existing ID (#1817)
1 parent cbe8bb8 commit 4bd3604

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/main/src/TabContainer.hbs

+7-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,13 @@
5454
<div class="{{classes.content}}">
5555
{{#each items}}
5656
{{#unless this.isSeparator}}
57-
<div class="ui5-tc__contentItem" id="ui5-tc-contentItem-{{this._position}}" ?hidden="{{this.effectiveHidden}}" role="tabpanel" aria-labelledby="{{this._id}}">
57+
<div
58+
class="ui5-tc__contentItem"
59+
id="ui5-tc-contentItem-{{this._posinset}}"
60+
?hidden="{{this.effectiveHidden}}"
61+
role="tabpanel"
62+
aria-labelledby="{{this._id}}"
63+
>
5864
<slot name="{{this._individualSlot}}"></slot>
5965
</div>
6066
{{/unless}}

0 commit comments

Comments
 (0)