Skip to content

docs(material/tabs): use correct class name for tab nav bar in accessibility section - #34197

Open
andretorresdg wants to merge 1 commit into
angular:mainfrom
andretorresdg:tabs-nav-class-name
Open

andretorresdg wants to merge 1 commit into
angular:mainfrom
andretorresdg:tabs-nav-class-name

Conversation

@andretorresdg

Copy link
Copy Markdown

The "Accessibility" section of the tabs overview (src/material/tabs/tabs.md) refers to
MatTabNavBar (three times) and MatTabNavGroup (once). Neither class exists in
@angular/material/tabs: the directive behind <nav mat-tab-nav-bar> is exported as MatTabNav
(see src/material/tabs/tab-nav-bar/tab-nav-bar.ts and goldens/material/tabs/index.api.md).
MatTabNavBarHarness exists, but it is the test harness, not the component.

This replaces both names with MatTabNav. Docs-only change, no behavior change.

How I tested

  • Searched src/ and the public API golden: MatTabNav is the exported class, and nothing exports
    MatTabNavBar or MatTabNavGroup.
  • Rendered the file with the repo's tools/markdown-to-html renderer (marked/slugify versions from
    pnpm-lock.yaml): it renders without errors. I did not run the Bazel docs build.

…ibility section

The accessibility section of the tabs overview refers to `MatTabNavBar` and
`MatTabNavGroup`, but neither class exists. The directive applied by
`<nav mat-tab-nav-bar>` is exported as `MatTabNav`.
@pullapprove
pullapprove Bot requested review from crisbeto and tjshiu November 29, 2026 14:25
@angular-robot angular-robot Bot added area: docs Related to the documentation area: material/tabs labels Nov 29, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Related to the documentation area: material/tabs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant