File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
<div class =" ui5-wiz-root" aria-label =" {{ ariaLabelText }} " role =" region" >
2
2
<nav class =" ui5-wiz-nav" aria-label =" {{ navAriaLabelText }} " tabindex =" -1" >
3
- <div class =" ui5-wiz-nav-list" role =" list" aria-label =" {{ listAriaLabelText }} " aria-controls =" ui5 -wiz-content" >
3
+ <div class =" ui5-wiz-nav-list" role =" list" aria-label =" {{ listAriaLabelText }} " aria-controls =" {{ _id }} -wiz-content" >
4
4
{{ #each _stepsInHeader }}
5
5
<ui5-wizard-tab
6
6
heading =" {{ heading }} "
25
25
</div >
26
26
</nav >
27
27
28
- <div class =" ui5-wiz-content" @scroll =" {{ onScroll }} " >
28
+ <div id = " {{ _id }} -wiz-content " class =" ui5-wiz-content" @scroll =" {{ onScroll }} " >
29
29
{{ #each _steps }}
30
30
<div class =" ui5-wiz-content-item"
31
31
?hidden =" {{ disabled }} "
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ describe("Wizard general interaction", () => {
36
36
"Wizard nav has aria-label set." ) ;
37
37
assert . strictEqual ( wizList . getAttribute ( "role" ) , "list" ,
38
38
"Wizard list has role set.." ) ;
39
- assert . strictEqual ( wizList . getAttribute ( "aria-controls" ) , "ui5 -wiz-content" ,
39
+ assert . strictEqual ( wizList . getAttribute ( "aria-controls" ) , ` ${ wiz . getProperty ( "_id" ) } -wiz-content` ,
40
40
"Wizard list has aria-controls set." ) ;
41
41
assert . strictEqual ( wizList . getAttribute ( "aria-label" ) , wizListText ,
42
42
"Wizard list has aria-label set." ) ;
You can’t perform that action at this time.
0 commit comments