Skip to content

Commit ae94c40

Browse files
committedMar 31, 2025··
[docs] Fix 301 link
1 parent abd8f63 commit ae94c40

File tree

15 files changed

+15
-15
lines changed

15 files changed

+15
-15
lines changed
 

‎docs/data/base/components/modal/modal.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Do not add the `ref` parameter to the root element manually, as the correct ref
168168

169169
See the [WAI-ARIA guide on the Dialog (Modal) pattern](https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/) for complete details on accessibility best practices.
170170

171-
- All interactive elements must have an [accessible name](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-labelledby). Use the `aria-labelledby="id..."` to give your Modal component an accessible name.
171+
- All interactive elements must have an [accessible name](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-labelledby). Use the `aria-labelledby="id..."` to give your Modal component an accessible name.
172172
You can also use `aria-describedby="id..."` to provide a description of the Modal:
173173

174174
```jsx

‎docs/data/base/getting-started/quickstart/quickstart.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Please note that [react](https://www.npmjs.com/package/react) and [react-dom](ht
4141

4242
## Implementing a Button
4343

44-
This is a quick tutorial that goes through the basics of using and styling MUI Base components by replicating a button from GitHub's UI, using their [Primer design system](https://primer.style/components/button/) as a reference.
44+
This is a quick tutorial that goes through the basics of using and styling MUI Base components by replicating a button from GitHub's UI, using their [Primer design system](https://primer.style/product/components/button/) as a reference.
4545

4646
{{"demo": "Tutorial.js", "defaultCodeOpen": false, "hideToolbar": true}}
4747

‎docs/data/joy/components/button/button.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ You can use these to customize the components with both the `sx` prop and the th
138138

139139
## Accessibility
140140

141-
All Buttons must have a meaningful [`aria-label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) so their purpose can be understood by users who require assistive technology.
141+
All Buttons must have a meaningful [`aria-label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label) so their purpose can be understood by users who require assistive technology.
142142

143143
This is especially important for [Icon Buttons](#icon-button) because they don't contain any text.
144144
For example, an Icon Button that displays a `<FavoriteBorder />` icon might have a label that looks like this:

‎docs/data/joy/components/link/link.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ import Link from '@mui/joy/Link';
127127

128128
### React Router
129129

130-
Here is a demo with the [Link component](https://reactrouter.com/start/library/navigating#link) of [React Router](https://github.com/remix-run/react-router).
130+
Here is a demo with the [Link component](https://reactrouter.com/start/declarative/navigating#link) of [React Router](https://github.com/remix-run/react-router).
131131

132132
```js
133133
import { Link as RouterLink } from 'react-router';

‎docs/data/joy/components/modal/modal.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ If the user needs to interact with another part of the page-for example, to in
237237

238238
See the [WAI-ARIA guide on the Dialog (Modal) pattern](https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/) for complete details on accessibility best practices. Here are a couple of highlights:
239239

240-
- All interactive elements must have an [accessible name](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-labelledby). Use the `aria-labelledby="id..."` to give your `Modal` component an accessible name.
240+
- All interactive elements must have an [accessible name](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-labelledby). Use the `aria-labelledby="id..."` to give your `Modal` component an accessible name.
241241
You can also use `aria-describedby="id..."` to provide a description of the `Modal`:
242242

243243
```jsx

‎docs/data/material/guides/content-security-policy/content-security-policy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ CSP mitigates cross-site scripting (XSS) attacks by requiring developers to whit
1414

1515
This vulnerability would allow the attacker to execute anything. However, with a secure CSP header, the browser will not load this script.
1616

17-
You can read more about CSP on the [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP).
17+
You can read more about CSP on the [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CSP).
1818

1919
## How does one implement CSP?
2020

‎docs/data/material/guides/minimizing-bundle-size/minimizing-bundle-size.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Combined with [dangerJS](https://danger.systems/js/) we can inspect
1313

1414
Tree-shaking Material UI works out of the box in modern frameworks.
1515
Material UI exposes its full API on the top-level `@mui` imports.
16-
If you're using ES6 modules and a bundler that supports tree-shaking ([`webpack` >= 2.x](https://webpack.js.org/guides/tree-shaking/), [`parcel` with a flag](https://en.parceljs.org/cli.html#enable-experimental-scope-hoisting/tree-shaking-support)) you can safely use named imports and still get an optimized bundle size automatically:
16+
If you're using ES modules and a bundler that supports tree-shaking ([`webpack` >= 2.x](https://webpack.js.org/guides/tree-shaking/), parcel you can safely use named imports and still get an optimized bundle size automatically:
1717

1818
```js
1919
import { Button, TextField } from '@mui/material';

‎docs/data/material/integrations/routing/routing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ You can learn more about this prop in the **[composition guide](/material-ui/gui
6767

6868
## React Router examples
6969

70-
Here are a few demos with the [Link component](https://reactrouter.com/start/library/navigating#link) of [React Router](https://github.com/remix-run/react-router).
70+
Here are a few demos with the [Link component](https://reactrouter.com/start/declarative/navigating#link) of [React Router](https://github.com/remix-run/react-router).
7171
You can apply the same strategy with all the components: BottomNavigation, Card, etc.
7272

7373
### Link

‎docs/data/system/getting-started/the-sx-prop/the-sx-prop.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ For highly dynamic CSS values, we recommend using inline CSS variables instead o
309309
This approach avoids inserting unnecessary `style` tags into the DOM, which prevents potential performance issues when dealing with CSS properties that can hold a wide range of values that change frequently—for example, a color picker with live preview.
310310

311311
:::info
312-
If you're having problems with your Content Security Policy while using inline styles with the `style` attribute, make sure you've enabled the [`style-src-attr` directive](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src-attr).
312+
If you're having problems with your Content Security Policy while using inline styles with the `style` attribute, make sure you've enabled the [`style-src-attr` directive](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/style-src-attr).
313313
Visit the [Content Security Policy guide](/material-ui/guides/content-security-policy/) for configuration details.
314314
:::
315315

‎docs/translations/api-docs-joy/svg-icon/svg-icon.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"description": "If <code>true</code>, the root node will inherit the custom <code>component</code>&#39;s viewBox and the <code>viewBox</code> prop will be ignored. Useful when you want to reference a custom <code>component</code> and have <code>SvgIcon</code> pass that <code>component</code>&#39;s viewBox to the root node."
1717
},
1818
"shapeRendering": {
19-
"description": "The shape-rendering attribute. The behavior of the different options is described on the <a href=\"https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering\">MDN Web Docs</a>. If you are having issues with blurry icons you should investigate this prop."
19+
"description": "The shape-rendering attribute. The behavior of the different options is described on the <a href=\"https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering\">MDN Web Docs</a>. If you are having issues with blurry icons you should investigate this prop."
2020
},
2121
"size": { "description": "The size of the component." },
2222
"slotProps": { "description": "The props used for each slot inside." },

‎docs/translations/api-docs/svg-icon/svg-icon.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"description": "If <code>true</code>, the root node will inherit the custom <code>component</code>&#39;s viewBox and the <code>viewBox</code> prop will be ignored. Useful when you want to reference a custom <code>component</code> and have <code>SvgIcon</code> pass that <code>component</code>&#39;s viewBox to the root node."
1818
},
1919
"shapeRendering": {
20-
"description": "The shape-rendering attribute. The behavior of the different options is described on the <a href=\"https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering\">MDN Web Docs</a>. If you are having issues with blurry icons you should investigate this prop."
20+
"description": "The shape-rendering attribute. The behavior of the different options is described on the <a href=\"https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering\">MDN Web Docs</a>. If you are having issues with blurry icons you should investigate this prop."
2121
},
2222
"sx": {
2323
"description": "The system prop that allows defining system overrides as well as additional CSS styles."

‎packages/mui-joy/src/SvgIcon/SvgIcon.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ SvgIcon.propTypes /* remove-proptypes */ = {
187187
inheritViewBox: PropTypes.bool,
188188
/**
189189
* The shape-rendering attribute. The behavior of the different options is described on the
190-
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).
190+
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
191191
* If you are having issues with blurry icons you should investigate this prop.
192192
*/
193193
shapeRendering: PropTypes.string,

‎packages/mui-joy/src/SvgIcon/SvgIconProps.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export interface SvgIconTypeMap<P = {}, D extends React.ElementType = 'svg'> {
5353
inheritViewBox?: boolean;
5454
/**
5555
* The shape-rendering attribute. The behavior of the different options is described on the
56-
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).
56+
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
5757
* If you are having issues with blurry icons you should investigate this prop.
5858
*/
5959
shapeRendering?: string;

‎packages/mui-material/src/SvgIcon/SvgIcon.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export interface SvgIconOwnProps {
5959
inheritViewBox?: boolean;
6060
/**
6161
* The shape-rendering attribute. The behavior of the different options is described on the
62-
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).
62+
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
6363
* If you are having issues with blurry icons you should investigate this prop.
6464
*/
6565
shapeRendering?: string;

‎packages/mui-material/src/SvgIcon/SvgIcon.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ SvgIcon.propTypes /* remove-proptypes */ = {
214214
inheritViewBox: PropTypes.bool,
215215
/**
216216
* The shape-rendering attribute. The behavior of the different options is described on the
217-
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).
217+
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
218218
* If you are having issues with blurry icons you should investigate this prop.
219219
*/
220220
shapeRendering: PropTypes.string,

0 commit comments

Comments
 (0)
Please sign in to comment.