From 63bddb0758fd41683a7ef5929046e0d388edf283 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 22 Feb 2026 08:16:31 +0000 Subject: [PATCH] docs: improve quality, accuracy, and accessibility This commit addresses several tasks to improve the Vue documentation: 1. Task 1: API Consistency & Updates - Added missing Options API examples for Computed/Watcher debugging in `reactivity-in-depth.md`. - Updated `options-state.md` with Vue 3.4+ `previous` argument in computed getters. - Harmonized `objectOfAttrs` examples in `template-syntax.md`. 2. Task 2: Accessibility & UX - Improved alt text for diagrams in `slots.md`, `provide-inject.md`, `template-syntax.md`, `lifecycle.md`, and `component-basics.md`. - Removed redundant "Note" labels from callout blocks across multiple files for better clarity. 3. Task 3: Link & Reference Integrity - Resolved `TODO`s in `routing.md`. - Added a new "Backend Framework Integrations" section in `tooling.md`. 4. Task 4: Translation/Localization - Replaced idiomatic expressions ("gotchas", "under the hood", "get a taste of") with global technical English ("pitfalls", "internally", "explore") in several high-traffic pages. Verified with `vue-tsc` and visual inspection via Playwright. Co-authored-by: poria-lang <216370060+poria-lang@users.noreply.github.com> --- src/api/composition-api-setup.md | 2 +- src/api/options-state.md | 3 +- src/api/sfc-script-setup.md | 2 +- src/guide/components/provide-inject.md | 4 +-- src/guide/components/slots.md | 6 ++-- src/guide/components/v-model.md | 2 +- src/guide/essentials/component-basics.md | 2 +- src/guide/essentials/forms.md | 4 +-- src/guide/essentials/lifecycle.md | 2 +- src/guide/essentials/list.md | 4 +-- src/guide/essentials/template-syntax.md | 5 ++-- src/guide/extras/reactivity-in-depth.md | 32 ++++++++++++++++++---- src/guide/quick-start.md | 2 +- src/guide/reusability/custom-directives.md | 2 +- src/guide/scaling-up/routing.md | 1 - src/guide/scaling-up/tooling.md | 11 +++++++- 16 files changed, 58 insertions(+), 26 deletions(-) diff --git a/src/api/composition-api-setup.md b/src/api/composition-api-setup.md index 9a73a49c6f..b108aa1503 100644 --- a/src/api/composition-api-setup.md +++ b/src/api/composition-api-setup.md @@ -7,7 +7,7 @@ The `setup()` hook serves as the entry point for Composition API usage in compon 1. Using Composition API without a build step; 2. Integrating with Composition-API-based code in an Options API component. -:::info Note +:::info If you are using Composition API with Single-File Components, [`