Skip to content

Commit 4f19bcf

Browse files
Michael Doneramysorto
Michael Doner
authored andcommitted
docs: Fix several typos in the documentation (#24756)
(cherry picked from commit 21a5cf6)
1 parent b1e1e4b commit 4f19bcf

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

guides/theming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ The example below shows how to customize the color of all buttons inside element
348348

349349
You can use the `get-color-from-palette` function to get specific hues from a palette by their
350350
number identifier. You can also access the contrast color for a particular hue by suffixing the
351-
hue's number idenfier with `-contrast`.
351+
hue's number identifier with `-contrast`.
352352

353353
```scss
354354
@use '@angular/material' as mat;

src/cdk/overlay/overlay.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ the overlay element. There are four scroll strategies available as part of the l
7474

7575
`BlockScrollStrategy` will block page scrolling while the overlay is open. Note that some
7676
applications may implement special or customized page scrolling; if the `BlockScrollStrategy`
77-
conflicts with this kind of situation, it can be overriden by re-providing `BlockScrollStrategy`
77+
conflicts with this kind of situation, it can be overridden by re-providing `BlockScrollStrategy`
7878
with a custom implementation.
7979

8080
`RepositionScrollStrategy` will re-position the overlay element on scroll. Note that this will have

src/cdk/testing/test-harnesses.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -619,9 +619,9 @@ and
619619
[`SeleniumWebDriverElement`](https://github.com/angular/components/blob/master/src/cdk/testing/selenium-webdriver/selenium-web-driver-element.ts#L22)
620620
implementations in Angular CDK serve as good examples of implementations of this interface.
621621

622-
#### Creating a `HarnessEnvironemnt` implementation for the environment
622+
#### Creating a `HarnessEnvironment` implementation for the environment
623623

624-
Test authors use `HarnessEnvironemnt` to create component harness instances for use in tests.
624+
Test authors use `HarnessEnvironment` to create component harness instances for use in tests.
625625

626626
`HarnessEnvironment` is an abstract class that must be extended to create a concrete subclass for
627627
the new environment. When supporting a new test environment, you must create a `HarnessEnvironment`

src/material/input/input.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ for the `<input>`. However, if there's no label specified in the form field, `ar
9999
Any `mat-error` and `mat-hint` are automatically added to the input's `aria-describedby` list, and
100100
`aria-invalid` is automatically updated based on the input's validity state.
101101

102-
When conveying an error, be sure to not rely soley on color. In the message itself, you can use an
102+
When conveying an error, be sure to not rely solely on color. In the message itself, you can use an
103103
icon or text such as "Error:" to indicate the message is an error message.
104104

105105
### Troubleshooting

src/material/progress-bar/progress-bar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ use the theme's primary color. This can be changed to `'accent'` or `'warn'`.
4545

4646
`MatProgressBar` implements the ARIA `role="progressbar"` pattern. By default, the progress bar
4747
sets `aria-valuemin` to `0` and `aria-valuemax` to `100`. Avoid changing these values, as this may
48-
cause incompatiblity with some assistive technology.
48+
cause incompatibility with some assistive technology.
4949

5050
Always provide an accessible label via `aria-label` or `aria-labelledby` for each progress bar.

src/material/progress-spinner/progress-spinner.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ progress-spinners use the theme's primary color. This can be changed to `'accent
2626

2727
`MatProgressSpinner` implements the ARIA `role="progressbar"` pattern. By default, the spinner
2828
sets `aria-valuemin` to `0` and `aria-valuemax` to `100`. Avoid changing these values, as this may
29-
cause incompatiblity with some assistive technology.
29+
cause incompatibility with some assistive technology.
3030

3131
Always provide an accessible label via `aria-label` or `aria-labelledby` for each spinner.

src/material/sidenav/sidenav.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ If no `mode` is specified, `over` is used by default.
120120
The `over` and `push` sidenav modes show a backdrop by default, while the `side` mode does not. This
121121
can be customized by setting the `hasBackdrop` property on `mat-sidenav-container`. Explicitly
122122
setting `hasBackdrop` to `true` or `false` will override the default backdrop visibility setting for
123-
all sidenavs regadless of mode. Leaving the property unset or setting it to `null` will use the
123+
all sidenavs regardless of mode. Leaving the property unset or setting it to `null` will use the
124124
default backdrop visibility for each mode.
125125

126126
<!-- example(sidenav-backdrop) -->
@@ -212,7 +212,7 @@ specific role makes sense, `role="region"` is again a good fallback.
212212
#### Focus management
213213
The sidenav has the ability to capture focus. This behavior is turned on for the `push` and `over` modes and it is off for `side` mode. You can change its default behavior by the `autoFocus` input.
214214

215-
By default the first tabbable element will recieve focus upon open. If you want a different element to be focused, you can set the `cdkFocusInitial` attribute on it.
215+
By default the first tabbable element will receive focus upon open. If you want a different element to be focused, you can set the `cdkFocusInitial` attribute on it.
216216

217217
### Troubleshooting
218218

src/material/sort/sort.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ description for the button element, such as "Sort by last name".
5050

5151
`MatSortHeader` applies the `aria-sort` attribute to communicate the active sort state to
5252
assistive technology. However, most screen readers do not announce changes to the value of
53-
`aria-sort`, meaning that screen reader users do not receive feedback that sorting occured. To
53+
`aria-sort`, meaning that screen reader users do not receive feedback that sorting occurred. To
5454
remedy this, use the `matSortChange` event on the `MatSort` directive to announce state
5555
updates with the `LiveAnnouncer` service from `@angular/cdk/a11y`.
5656

src/material/tabs/tabs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ placed relatively close to the `mat-tab-nav-bar` (see [Accessibility](#accessibi
5353

5454
### Lazy Loading
5555
By default, the tab contents are eagerly loaded. Eagerly loaded tabs
56-
will initalize the child components but not inject them into the DOM
56+
will initialize the child components but not inject them into the DOM
5757
until the tab is activated.
5858

5959

src/youtube-player/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To install, run `npm install @angular/youtube-player`.
1111
Follow the following instructions for setting up the YouTube player component:
1212

1313
- First, follow the [instructions for installing the API script](https://developers.google.com/youtube/iframe_api_reference#Getting_Started).
14-
- Then make sure the API is available before bootstraping the YouTube Player component.
14+
- Then make sure the API is available before bootstrapping the YouTube Player component.
1515
- Provide the video id by extracting it from the video URL.
1616

1717
## Example

0 commit comments

Comments
 (0)