Skip to content

Commit

Permalink
docs: rename navgating to navigating (#24216)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7d6417a)
  • Loading branch information
jeripeierSBB authored and andrewseguin committed Jan 18, 2022
1 parent 31c8fc1 commit a404580
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/material-experimental/mdc-menu/menu.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2058,7 +2058,7 @@ describe('MDC-based MatMenu', () => {
.toBe(true);
}));

it('should restore focus to a nested trigger when navgating via the keyboard', fakeAsync(() => {
it('should restore focus to a nested trigger when navigating via the keyboard', fakeAsync(() => {
compileTestComponent();
instance.rootTriggerEl.nativeElement.click();
fixture.detectChanges();
Expand Down
2 changes: 1 addition & 1 deletion src/material/menu/menu.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2053,7 +2053,7 @@ describe('MatMenu', () => {
.toBe(true);
}));

it('should restore focus to a nested trigger when navgating via the keyboard', fakeAsync(() => {
it('should restore focus to a nested trigger when navigating via the keyboard', fakeAsync(() => {
compileTestComponent();
instance.rootTriggerEl.nativeElement.click();
fixture.detectChanges();
Expand Down
2 changes: 1 addition & 1 deletion src/material/tabs/tabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ between content within a single page.
elements as the "tabs". You should use this component when you want your cross-page navigation to
look like a tabbed interface. As a rule of thumb, you should consider `MatTabNavBar` if changing
tabs would change the browser URL. For all navigation, including with `MatTabNavBar`, always move
browser focus to an element at the beginning of the content to which the user is navgating.
browser focus to an element at the beginning of the content to which the user is navigating.
Furthermore, consider placing your `<router-outlet>` inside of a
[landmark region](https://www.w3.org/TR/wai-aria-1.1/#dfn-landmark) appropriate to the page.

Expand Down

0 comments on commit a404580

Please sign in to comment.