Skip to content

Commit bb1776e

Browse files
crisbetokara
authored andcommitted
docs(radio): fix typo in radio docs (#5842)
Fixes #5841.
1 parent b018f26 commit bb1776e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/lib/radio/radio.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
`<md-radio>` provides the same functionality as a native `<input type="radio">` enhanced with
2-
Material Design styling and animations.
3-
2+
Material Design styling and animations.
3+
44
<!-- example(radio-overview) -->
5-
5+
66
All radio-buttons with the same `name` comprise a set from which only one may be selected at a time.
7-
7+
88
### Radio-button label
9-
The radio-button label is provided as the content to the `<md-checkbox>` element. The label can be
10-
positioned before or after the radio-button by setting the `labelPosition` property to `'before'`
9+
The radio-button label is provided as the content to the `<md-radio-button>` element. The label can
10+
be positioned before or after the radio-button by setting the `labelPosition` property to `'before'`
1111
or `'after'`.
1212

13-
If you don't want the label to appear next to the radio-button, you can use
14-
[`aria-label`](https://www.w3.org/TR/wai-aria/states_and_properties#aria-label) or
15-
[`aria-labelledby`](https://www.w3.org/TR/wai-aria/states_and_properties#aria-labelledby) to
13+
If you don't want the label to appear next to the radio-button, you can use
14+
[`aria-label`](https://www.w3.org/TR/wai-aria/states_and_properties#aria-label) or
15+
[`aria-labelledby`](https://www.w3.org/TR/wai-aria/states_and_properties#aria-labelledby) to
1616
specify an appropriate label.
1717

1818

@@ -25,5 +25,5 @@ Individual radio-buttons inside of a radio-group will inherit the `name` of the
2525

2626

2727
### Use with `@angular/forms`
28-
`<md-radio-group>` is compatible with `@angular/forms` and supports both `FormsModule`
28+
`<md-radio-group>` is compatible with `@angular/forms` and supports both `FormsModule`
2929
and `ReactiveFormsModule`.

0 commit comments

Comments
 (0)