Skip to content

Commit 20d1bc6

Browse files
chore: tidy up the markdown tables (#1026)
1 parent 1211968 commit 20d1bc6

File tree

3 files changed

+23
-23
lines changed

3 files changed

+23
-23
lines changed

src/guide/a11y-basics.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,16 @@ Users can navigate an application through headings. Having descriptive headings
9494

9595
Landmarks provide programmatic access to sections within an application. Users who rely on assistive technology can navigate to each section of the application and skip over content. You can use [ARIA roles](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles) to help you achieve this.
9696

97-
| HTML | ARIA Role | Landmark Purpose |
98-
| --------------- | ----------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
99-
| header | role="banner" | Prime heading: title of the page |
100-
| nav | role="navigation" | Collection of links suitable for use when navigating the document or related documents |
101-
| main | role="main" | The main or central content of the document. |
102-
| footer | role="contentinfo" | Information about the parent document: footnotes/copyrights/links to privacy statement |
103-
| aside | role="complementary" | Supports the main content, yet is separated and meaningful on its own content |
104-
| _Not available_ | role="search" | This section contains the search functionality for the application |
105-
| form | role="form" | Collection of form-associated elements |
106-
| section | role="region" | Content that is relevant and that users will likely want to navigate to. Label must be provided for this element |
97+
| HTML | ARIA Role | Landmark Purpose |
98+
| --------------- | -------------------- | ---------------------------------------------------------------------------------------------------------------- |
99+
| header | role="banner" | Prime heading: title of the page |
100+
| nav | role="navigation" | Collection of links suitable for use when navigating the document or related documents |
101+
| main | role="main" | The main or central content of the document. |
102+
| footer | role="contentinfo" | Information about the parent document: footnotes/copyrights/links to privacy statement |
103+
| aside | role="complementary" | Supports the main content, yet is separated and meaningful on its own content |
104+
| _Not available_ | role="search" | This section contains the search functionality for the application |
105+
| form | role="form" | Collection of form-associated elements |
106+
| section | role="region" | Content that is relevant and that users will likely want to navigate to. Label must be provided for this element |
107107

108108
:::tip Tip:
109109
It is recommended to use landmark HTML elements with redundant landmark role attributes in order to maximize compatibility with legacy [browsers that don’t support HTML5 semantic elements](https://caniuse.com/#feat=html5semantic).

src/guide/composition-api-lifecycle-hooks.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ You can access a component's lifecycle hook by prefixing the lifecycle hook with
99
The following table contains how the lifecycle hooks are invoked inside of [setup()](composition-api-setup.html):
1010

1111
| Options API | Hook inside `setup` |
12-
| ----------------- | -------------------------- |
13-
| `beforeCreate` | Not needed\* |
14-
| `created` | Not needed\* |
15-
| `beforeMount` | `onBeforeMount` |
16-
| `mounted` | `onMounted` |
17-
| `beforeUpdate` | `onBeforeUpdate` |
18-
| `updated` | `onUpdated` |
19-
| `beforeUnmount` | `onBeforeUnmount` |
20-
| `unmounted` | `onUnmounted` |
21-
| `errorCaptured` | `onErrorCaptured` |
22-
| `renderTracked` | `onRenderTracked` |
23-
| `renderTriggered` | `onRenderTriggered` |
12+
| ----------------- | ------------------- |
13+
| `beforeCreate` | Not needed\* |
14+
| `created` | Not needed\* |
15+
| `beforeMount` | `onBeforeMount` |
16+
| `mounted` | `onMounted` |
17+
| `beforeUpdate` | `onBeforeUpdate` |
18+
| `updated` | `onUpdated` |
19+
| `beforeUnmount` | `onBeforeUnmount` |
20+
| `unmounted` | `onUnmounted` |
21+
| `errorCaptured` | `onErrorCaptured` |
22+
| `renderTracked` | `onRenderTracked` |
23+
| `renderTriggered` | `onRenderTriggered` |
2424

2525
:::tip
2626
Because `setup` is run around the `beforeCreate` and `created` lifecycle hooks, you do not need to explicitly define them. In other words, any code that would be written inside those hooks should be written directly in the `setup` function.

src/guide/migration/global-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ An app instance exposes a subset of the Vue 2 global APIs. The rule of thumb is
8484
| Vue.directive | app.directive |
8585
| Vue.mixin | app.mixin |
8686
| Vue.use | app.use ([see below](#a-note-for-plugin-authors)) |
87-
| Vue.prototype | app.config.globalProperties ([see below](#vue-prototype-replaced-by-config-globalproperties)) | |
87+
| Vue.prototype | app.config.globalProperties ([see below](#vue-prototype-replaced-by-config-globalproperties)) |
8888

8989
All other global APIs that do not globally mutate behavior are now named exports, as documented in [Global API Treeshaking](./global-api-treeshaking.html).
9090

0 commit comments

Comments
 (0)