Skip to content

Commit 057384e

Browse files
[docs] Fix some 301 redirections
1 parent beee09f commit 057384e

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

docs/data/joy/components/checkbox/checkbox.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ To use an interactive element together with a Checkbox, you can wrap it with a F
162162

163163
:::info
164164
It is recommended that the interactive elements such as link should be placed outside of the checkbox's label.
165-
To learn more, [visit HTML label](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label#accessibility_concerns) from Mozilla.
165+
To learn more, [visit HTML label](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/label#accessibility) from Mozilla.
166166
:::
167167

168168
### Filtering status

docs/data/joy/components/list/list.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Use the `marker` prop with any valid [list-style-type](https://developer.mozilla
103103
{{"demo": "MarkerList.js"}}
104104

105105
:::success
106-
For [numbered lists](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol), change the List component to `component="ol"`.
106+
For [numbered lists](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/ol), change the List component to `component="ol"`.
107107

108108
```js
109109
<List component="ol" marker="decimal">

docs/data/joy/components/table/table.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ To display a caption at the bottom of the Table, set the [caption side](https://
192192

193193
### Footer
194194

195-
Use [`<tfoot>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot) to add a footer to the Table.
195+
Use [`<tfoot>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/tfoot) to add a footer to the Table.
196196

197197
{{"demo": "TableFooter.js"}}
198198

docs/data/joy/components/textarea/textarea.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ It's usually more common to see textarea components using decorators at the top
116116

117117
### HTML textarea ref
118118

119-
Use the `slotProps.textarea` attribute to pass props to the `ref` and other [supported HTML attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attributes) to the textarea element.
119+
Use the `slotProps.textarea` attribute to pass props to the `ref` and other [supported HTML attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/textarea#attributes) to the textarea element.
120120

121121
{{"demo": "TextareaRef.js"}}
122122

docs/translations/api-docs/avatar/avatar.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"description": "The component used for the root node. Either a string to use a HTML element or a component."
1313
},
1414
"imgProps": {
15-
"description": "<a href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attributes\">Attributes</a> applied to the <code>img</code> element if the component is used to display an image. It can be used to listen for the loading error event."
15+
"description": "<a href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/img#attributes\">Attributes</a> applied to the <code>img</code> element if the component is used to display an image. It can be used to listen for the loading error event."
1616
},
1717
"sizes": {
1818
"description": "The <code>sizes</code> attribute for the <code>img</code> element."

docs/translations/api-docs/native-select/native-select.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"description": "An <code>Input</code> element; does not have to be a material-ui specific <code>Input</code>."
1111
},
1212
"inputProps": {
13-
"description": "<a href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attributes\">Attributes</a> applied to the <code>select</code> element."
13+
"description": "<a href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/select#attributes\">Attributes</a> applied to the <code>select</code> element."
1414
},
1515
"onChange": {
1616
"description": "Callback fired when a menu item is selected.",

packages/mui-joy/src/RadioGroup/RadioGroup.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ const RadioGroup = React.forwardRef(function RadioGroup(inProps, ref) {
151151
role,
152152
// The `id` is just for the completeness, it does not have any effect because RadioGroup (div) is non-labelable element
153153
// MDN: "If it is not a labelable element, then the for attribute has no effect"
154-
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label#attr-for
154+
// https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/label#attributes
155155
id: formControl?.htmlFor,
156156
'aria-labelledby': formControl?.labelId,
157157
'aria-describedby': formControl?.['aria-describedby'],

packages/mui-material/src/Avatar/Avatar.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export interface AvatarOwnProps {
7272
*/
7373
classes?: Partial<AvatarClasses>;
7474
/**
75-
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attributes) applied to the `img` element if the component is used to display an image.
75+
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/img#attributes) applied to the `img` element if the component is used to display an image.
7676
* It can be used to listen for the loading error event.
7777
* @deprecated Use `slotProps.img` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
7878
*/

packages/mui-material/src/Avatar/Avatar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ Avatar.propTypes /* remove-proptypes */ = {
264264
*/
265265
component: PropTypes.elementType,
266266
/**
267-
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attributes) applied to the `img` element if the component is used to display an image.
267+
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/img#attributes) applied to the `img` element if the component is used to display an image.
268268
* It can be used to listen for the loading error event.
269269
* @deprecated Use `slotProps.img` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
270270
*/

packages/mui-material/src/NativeSelect/NativeSelect.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface NativeSelectProps
2828
*/
2929
input?: React.ReactElement<unknown, any>;
3030
/**
31-
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attributes) applied to the `select` element.
31+
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/select#attributes) applied to the `select` element.
3232
*/
3333
inputProps?: Partial<NativeSelectInputProps>;
3434
/**

packages/mui-material/src/NativeSelect/NativeSelect.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ NativeSelect.propTypes /* remove-proptypes */ = {
102102
*/
103103
input: PropTypes.element,
104104
/**
105-
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attributes) applied to the `select` element.
105+
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/select#attributes) applied to the `select` element.
106106
*/
107107
inputProps: PropTypes.object,
108108
/**

0 commit comments

Comments
 (0)