Skip to content

Update config to throw on broken links #4515

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ Overrides the text that's read by the screen reader when the user interacts with

Tells the screen reader to treat the currently focused on element as having a specific role.

On iOS, these roles map to corresponding Accessibility Traits. Image button has the same functionality as if the trait was set to both 'image' and 'button'. See the [Accessibility guide](accessibility.md#accessibilitytraits-ios) for more information.
On iOS, these roles map to corresponding Accessibility Traits. Image button has the same functionality as if the trait was set to both 'image' and 'button'. See the [Accessibility guide](accessibility#accessibilityrole) for more information.

On Android, these roles have similar functionality on TalkBack as adding Accessibility Traits does on Voiceover in iOS

Expand Down Expand Up @@ -290,7 +290,7 @@ See the [Accessibility guide](accessibility.md#accessibility-actions) for more i

When set to `true`, indicates that the view is an accessibility element.

See the [Accessibility guide](accessibility#accessible-ios-android) for more information.
See the [Accessibility guide](accessibility#accessible) for more information.

| Type | Default |
| ------- | ------- |
Expand Down
8 changes: 4 additions & 4 deletions docs/touchablewithoutfeedback.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default TouchableWithoutFeedbackExample;

A value indicating this view should or should not be inverted when color inversion is turned on. A value of `true` will tell the view to not be inverted even if color inversion is turned on.

See the [Accessibility guide](accessibility.md#accessibilityignoresinvertcolors) for more information.
See the [Accessibility guide](accessibility.md#accessibilityignoresinvertcolors-ios) for more information.

| Type |
| ------- |
Expand Down Expand Up @@ -182,7 +182,7 @@ An accessibility hint helps users understand what will happen when they perform

Describes the current state of a component to the user of an assistive technology.

See the [Accessibility guide](accessibility.md#accessibilitystate-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilitystate) for more information.

| Type |
| ------------------------------------------------------------------------------------------------ |
Expand Down Expand Up @@ -280,7 +280,7 @@ Indicates that an element will be updated, and describes the types of updates th

### `aria-modal` <div class="label ios">iOS</div>

Boolean value indicating whether VoiceOver should ignore the elements within views that are siblings of the receiver. Has precedence over the [`accessibilityViewIsModal`](#accessibilityviewismodal-ios) prop.
Boolean value indicating whether VoiceOver should ignore the elements within views that are siblings of the receiver. Has precedence over the [`accessibilityViewIsModal`](accessibility.md#accessibilityviewismodal-ios) prop.

| Type | Default |
| ------- | ------- |
Expand Down Expand Up @@ -312,7 +312,7 @@ See the [Accessibility guide](accessibility.md#accessibility-actions) for more i

Represents the current value of a component. It can be a textual description of a component's value, or for range-based components, such as sliders and progress bars, it contains range information (minimum, current, and maximum).

See the [Accessibility guide](accessibility.md#accessibilityvalue-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilityvalue) for more information.

| Type |
| --------------------------------------------------------------- |
Expand Down
6 changes: 3 additions & 3 deletions docs/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ See the [iOS `accessibilityLanguage` doc](https://developer.apple.com/documentat

A value indicating this view should or should not be inverted when color inversion is turned on. A value of `true` will tell the view to not be inverted even if color inversion is turned on.

See the [Accessibility guide](accessibility.md#accessibilityignoresinvertcolors) for more information.
See the [Accessibility guide](accessibility.md#accessibilityignoresinvertcolors-ios) for more information.

| Type |
| ---- |
Expand Down Expand Up @@ -172,7 +172,7 @@ See the [Android `View` docs](https://developer.android.com/reference/android/vi

Describes the current state of a component to the user of an assistive technology.

See the [Accessibility guide](accessibility.md#accessibilitystate-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilitystate) for more information.

| Type |
| ------------------------------------------------------------------------------------------------ |
Expand All @@ -184,7 +184,7 @@ See the [Accessibility guide](accessibility.md#accessibilitystate-ios-android) f

Represents the current value of a component. It can be a textual description of a component's value, or for range-based components, such as sliders and progress bars, it contains range information (minimum, current, and maximum).

See the [Accessibility guide](accessibility.md#accessibilityvalue-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilityvalue) for more information.

| Type |
| --------------------------------------------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion website/blog/2020-03-26-version-0.62.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ We're always working to improve the upgrade experience, and we hope that these t

- **LogBox**: We’re adding the new LogBox error and warning experience as an opt-in; to enable it, add `require('react-native').unstable_enableLogBox()` to your `index.js` file.
- **React DevTools v4**: This change includes an upgrade to the [latest React DevTools](https://reactjs.org/blog/2019/08/15/new-react-devtools.html) which offers significant performance gains, an improved navigation experience, and full support for React Hooks.
- **Accessibility improvements**: We’ve made improvements to accessibility including adding [accessibilityValue](https://reactnative.dev/docs/accessibility#accessibilityvalue-ios-android), missing props on [Touchables](https://github.com/facebook/react-native/commit/8c0c860e38f57e18296f689e47dfb4a54088c260), `onSlidingComplete` [accessibility events](https://github.com/facebook/react-native/commit/c7aa6dc8270c0eabc913fe6c617c8131e3f4b3c5), and changing the default role of Switch component from `"button"` to `"switch"`.
- **Accessibility improvements**: We’ve made improvements to accessibility including adding [accessibilityValue](https://reactnative.dev/docs/accessibility#accessibilityvalue), missing props on [Touchables](https://github.com/facebook/react-native/commit/8c0c860e38f57e18296f689e47dfb4a54088c260), `onSlidingComplete` [accessibility events](https://github.com/facebook/react-native/commit/c7aa6dc8270c0eabc913fe6c617c8131e3f4b3c5), and changing the default role of Switch component from `"button"` to `"switch"`.

## Breaking changes

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-10-23-release-0.76-new-architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This is a major milestone for React Native, as we’re enabling the New Architec

- [React Native New Architecture by default](/blog/2024/10/23/release-0.76-new-architecture#react-native-new-architecture-by-default)
- [React Native DevTools](/blog/2024/10/23/release-0.76-new-architecture#react-native-devtools)
- [Faster Metro resolution](#faster-metro-resolution)
- [Faster Metro resolution](/blog/2024/10/23/release-0.76-new-architecture#faster-metro-resolution)
- [Box Shadow and Filter style props](/blog/2024/10/23/release-0.76-new-architecture#box-shadow-and-filter-style-props)

### Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const config: Config = {
defaultLocale: 'en',
locales: ['en'],
},
onBrokenLinks: 'warn',
onBrokenLinks: 'throw',
presets: [
[
'@docusaurus/preset-classic',
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.70/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ See the [Accessibility guide](accessibility.md#accessibility-actions) for more i

When set to `true`, indicates that the view is an accessibility element.

See the [Accessibility guide](accessibility#accessible-ios-android) for more information.
See the [Accessibility guide](accessibility#accessible) for more information.

| Type | Default |
| ------- | ------- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ An accessibility hint helps users understand what will happen when they perform

Describes the current state of a component to the user of an assistive technology.

See the [Accessibility guide](accessibility.md#accessibilitystate-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilitystate) for more information.

| Type |
| ------------------------------------------------------------------------------------------------ |
Expand Down Expand Up @@ -211,7 +211,7 @@ See the [Accessibility guide](accessibility.md#accessibility-actions) for more i

Represents the current value of a component. It can be a textual description of a component's value, or for range-based components, such as sliders and progress bars, it contains range information (minimum, current, and maximum).

See the [Accessibility guide](accessibility.md#accessibilityvalue-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilityvalue) for more information.

| Type |
| --------------------------------------------------------------- |
Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-0.70/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ See the [Android `View` docs](http://developer.android.com/reference/android/vie

Describes the current state of a component to the user of an assistive technology.

See the [Accessibility guide](accessibility.md#accessibilitystate-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilitystate) for more information.

| Type |
| ------------------------------------------------------------------------------------------------ |
Expand All @@ -222,7 +222,7 @@ See the [Accessibility guide](accessibility.md#accessibilitystate-ios-android) f

Represents the current value of a component. It can be a textual description of a component's value, or for range-based components, such as sliders and progress bars, it contains range information (minimum, current, and maximum).

See the [Accessibility guide](accessibility.md#accessibilityvalue-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilityvalue) for more information.

| Type |
| --------------------------------------------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.71/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ See the [Accessibility guide](accessibility.md#accessibility-actions) for more i

When set to `true`, indicates that the view is an accessibility element.

See the [Accessibility guide](accessibility#accessible-ios-android) for more information.
See the [Accessibility guide](accessibility#accessible) for more information.

| Type | Default |
| ------- | ------- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ An accessibility hint helps users understand what will happen when they perform

Describes the current state of a component to the user of an assistive technology.

See the [Accessibility guide](accessibility.md#accessibilitystate-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilitystate) for more information.

| Type |
| ------------------------------------------------------------------------------------------------ |
Expand Down Expand Up @@ -305,7 +305,7 @@ See the [Accessibility guide](accessibility.md#accessibility-actions) for more i

Represents the current value of a component. It can be a textual description of a component's value, or for range-based components, such as sliders and progress bars, it contains range information (minimum, current, and maximum).

See the [Accessibility guide](accessibility.md#accessibilityvalue-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilityvalue) for more information.

| Type |
| --------------------------------------------------------------- |
Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-0.71/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ See the [Android `View` docs](http://developer.android.com/reference/android/vie

Describes the current state of a component to the user of an assistive technology.

See the [Accessibility guide](accessibility.md#accessibilitystate-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilitystate) for more information.

| Type |
| ------------------------------------------------------------------------------------------------ |
Expand All @@ -221,7 +221,7 @@ See the [Accessibility guide](accessibility.md#accessibilitystate-ios-android) f

Represents the current value of a component. It can be a textual description of a component's value, or for range-based components, such as sliders and progress bars, it contains range information (minimum, current, and maximum).

See the [Accessibility guide](accessibility.md#accessibilityvalue-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilityvalue) for more information.

| Type |
| --------------------------------------------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.72/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ See the [Accessibility guide](accessibility.md#accessibility-actions) for more i

When set to `true`, indicates that the view is an accessibility element.

See the [Accessibility guide](accessibility#accessible-ios-android) for more information.
See the [Accessibility guide](accessibility#accessible) for more information.

| Type | Default |
| ------- | ------- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ An accessibility hint helps users understand what will happen when they perform

Describes the current state of a component to the user of an assistive technology.

See the [Accessibility guide](accessibility.md#accessibilitystate-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilitystate) for more information.

| Type |
| ------------------------------------------------------------------------------------------------ |
Expand Down Expand Up @@ -305,7 +305,7 @@ See the [Accessibility guide](accessibility.md#accessibility-actions) for more i

Represents the current value of a component. It can be a textual description of a component's value, or for range-based components, such as sliders and progress bars, it contains range information (minimum, current, and maximum).

See the [Accessibility guide](accessibility.md#accessibilityvalue-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilityvalue) for more information.

| Type |
| --------------------------------------------------------------- |
Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-0.72/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ See the [Android `View` docs](http://developer.android.com/reference/android/vie

Describes the current state of a component to the user of an assistive technology.

See the [Accessibility guide](accessibility.md#accessibilitystate-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilitystate) for more information.

| Type |
| ------------------------------------------------------------------------------------------------ |
Expand All @@ -186,7 +186,7 @@ See the [Accessibility guide](accessibility.md#accessibilitystate-ios-android) f

Represents the current value of a component. It can be a textual description of a component's value, or for range-based components, such as sliders and progress bars, it contains range information (minimum, current, and maximum).

See the [Accessibility guide](accessibility.md#accessibilityvalue-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilityvalue) for more information.

| Type |
| --------------------------------------------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.73/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ See the [Accessibility guide](accessibility.md#accessibility-actions) for more i

When set to `true`, indicates that the view is an accessibility element.

See the [Accessibility guide](accessibility#accessible-ios-android) for more information.
See the [Accessibility guide](accessibility#accessible) for more information.

| Type | Default |
| ------- | ------- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ An accessibility hint helps users understand what will happen when they perform

Describes the current state of a component to the user of an assistive technology.

See the [Accessibility guide](accessibility.md#accessibilitystate-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilitystate) for more information.

| Type |
| ------------------------------------------------------------------------------------------------ |
Expand Down Expand Up @@ -305,7 +305,7 @@ See the [Accessibility guide](accessibility.md#accessibility-actions) for more i

Represents the current value of a component. It can be a textual description of a component's value, or for range-based components, such as sliders and progress bars, it contains range information (minimum, current, and maximum).

See the [Accessibility guide](accessibility.md#accessibilityvalue-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilityvalue) for more information.

| Type |
| --------------------------------------------------------------- |
Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-0.73/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ See the [Android `View` docs](https://developer.android.com/reference/android/vi

Describes the current state of a component to the user of an assistive technology.

See the [Accessibility guide](accessibility.md#accessibilitystate-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilitystate) for more information.

| Type |
| ------------------------------------------------------------------------------------------------ |
Expand All @@ -186,7 +186,7 @@ See the [Accessibility guide](accessibility.md#accessibilitystate-ios-android) f

Represents the current value of a component. It can be a textual description of a component's value, or for range-based components, such as sliders and progress bars, it contains range information (minimum, current, and maximum).

See the [Accessibility guide](accessibility.md#accessibilityvalue-ios-android) for more information.
See the [Accessibility guide](accessibility.md#accessibilityvalue) for more information.

| Type |
| --------------------------------------------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.74/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ See the [Accessibility guide](accessibility.md#accessibility-actions) for more i

When set to `true`, indicates that the view is an accessibility element.

See the [Accessibility guide](accessibility#accessible-ios-android) for more information.
See the [Accessibility guide](accessibility#accessible) for more information.

| Type | Default |
| ------- | ------- |
Expand Down
Loading