File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11<div class =" ui5-wiz-root" aria-label =" {{ ariaLabelText }} " role =" region" >
22 <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" >
44 {{ #each _stepsInHeader }}
55 <ui5-wizard-tab
66 heading =" {{ heading }} "
2525 </div >
2626 </nav >
2727
28- <div class =" ui5-wiz-content" @scroll =" {{ onScroll }} " >
28+ <div id = " {{ _id }} -wiz-content " class =" ui5-wiz-content" @scroll =" {{ onScroll }} " >
2929 {{ #each _steps }}
3030 <div class =" ui5-wiz-content-item"
3131 ?hidden =" {{ disabled }} "
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ describe("Wizard general interaction", () => {
3333 "Wizard nav has aria-label set." ) ;
3434 assert . strictEqual ( wizList . getAttribute ( "role" ) , "list" ,
3535 "Wizard list has role set.." ) ;
36- assert . strictEqual ( wizList . getAttribute ( "aria-controls" ) , "ui5 -wiz-content" ,
36+ assert . strictEqual ( wizList . getAttribute ( "aria-controls" ) , ` ${ wiz . getProperty ( "_id" ) } -wiz-content` ,
3737 "Wizard list has aria-controls set." ) ;
3838 assert . strictEqual ( wizList . getAttribute ( "aria-label" ) , wizListText ,
3939 "Wizard list has aria-label set." ) ;
You can’t perform that action at this time.
0 commit comments