Skip to content

Commit ac49a37

Browse files
authored
Merge pull request #148 from assureclaims/feature/RMA-98739
Generic issue- Data is not reflecting while shifting from one tab to another through accessibility: checkin on behalf of jyothsna
2 parents 4e779f7 + ed95386 commit ac49a37

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

projects/dxc-ngx-cdk/src/lib/dxc-tabs/dxc-tabs.component.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ export class DxcTabsComponent implements OnChanges {
194194
tabLabels[index].addEventListener("mouseenter", function () {
195195
tab.onHoverHandler();
196196
});
197+
tabLabels[index].addEventListener("keydown", function (e) {
198+
if(e.keyCode === 13 || e.keyCode === 32)
199+
tab.onClickHandler()
200+
});
197201
});
198202
}
199203
}

0 commit comments

Comments
 (0)