diff --git a/src/lib/tabs/tab-nav-bar/tab-nav-bar.html b/src/lib/tabs/tab-nav-bar/tab-nav-bar.html
index ccff5b6f8b9a..d842ff7060db 100644
--- a/src/lib/tabs/tab-nav-bar/tab-nav-bar.html
+++ b/src/lib/tabs/tab-nav-bar/tab-nav-bar.html
@@ -1,4 +1,5 @@
-
+
+
diff --git a/src/lib/tabs/tab-nav-bar/tab-nav-bar.spec.ts b/src/lib/tabs/tab-nav-bar/tab-nav-bar.spec.ts
index 13b1cef645fc..b37e6a3fe71b 100644
--- a/src/lib/tabs/tab-nav-bar/tab-nav-bar.spec.ts
+++ b/src/lib/tabs/tab-nav-bar/tab-nav-bar.spec.ts
@@ -16,7 +16,6 @@ describe('MatTabNavBar', () => {
imports: [MatTabsModule],
declarations: [
SimpleTabNavBarTestApp,
- TabLink,
TabLinkWithNgIf,
TabLinkWithTabIndexBinding,
TabLinkWithNativeTabindexAttr,
@@ -274,16 +273,6 @@ describe('MatTabNavBar', () => {
expect(tabLink.tabIndex).toBe(3, 'Expected the tabIndex to be have been set to 3.');
});
-
- it('should set role on tablist and tab', () => {
- const fixture = TestBed.createComponent(TabLink);
- fixture.detectChanges();
-
- const tabList = fixture.debugElement.query(By.css('.mat-tab-links'));
- expect(tabList.nativeElement.getAttribute('role')).toEqual('tablist');
- const tabLinkElement = tabList.query(By.directive(MatTabLink)).nativeElement;
- expect(tabLinkElement.getAttribute('role')).toEqual('tab');
- });
});
@Component({
@@ -312,15 +301,6 @@ class SimpleTabNavBarTestApp {
activeIndex = 0;
}
-@Component({
- template: `
-
- `
-})
-class TabLink {}
-
@Component({
template: `