3 of 6 standards met
Summary Add a small โCopyโ button to every code block (โฆ) across documentation pages (including installation guides). The button copies the code to clipboard, gives immediate visual feedback (e.g. โCopied!โ), is keyboard accessible, and works for dynamically rendered content (client-side navigation). Use progressive enhancement (works if JavaScript is enabled; if not, code remains readable). Why Improves developer DX: copying long commands / snippets is tedious without a one-click button. Standard expectation for docs & reduces copy/paste errors. Accessibility-friendly copy affordance helps keyboard & screen-reader users. Proposed solution* Add a small Vue 2 client-side enhancement that: Finds all blocks and inserts a copy button. Uses the modern Clipboard API with a robust fallback. Shows visual feedback (tooltip text changes to โCopied!โ then reverts). Supports keyboard activation and has appropriate aria- attributes. Handles dynamically inserted code blocks (MutationObserver). Minimal CSS to match docs styling. Add a single small global CSS file for the copy button. Add tests/manual checklist.
Repository: vuejs/v2.vuejs.org. Description: ๐ Documentation for Vue 2 Stars: 4994, Forks: 3353. Primary language: JavaScript. Languages: JavaScript (73.6%), HTML (10.5%), EJS (7.4%), Stylus (7.2%), CSS (1.2%). License: MIT. Homepage: https://v2.vuejs.org Open PRs: 100, open issues: 145. Last activity: 1y ago. Community health: 50%. Top contributors: yyx990803, chrisvfritz, vue-bot, kazupon, phanan, Jinjiang, Alex-Sokolov, MachinisteWeb, sdras, posva and others.
JavaScript
Last 12 weeks ยท 0 commits
Summary Add a global dark / light theme toggle to the site UI so users can switch between light and dark modes. The preference should persist (localStorage), affect the whole site (body/class), be keyboard accessible, and respect prefers-color-scheme on first load. Why Improves readability and reduces eye strain for night-time users. Matches modern UX expectations for documentation websites. Increases accessibility and customization options.
The docs is missing how to use v-slot in jsx and since this is the new approach in 2.6 and the old is depricated the docs must be updated to reflect this. At the moment we dont know how to use it at all
Clarified how v-for with a range/integer works. This was not clear before, as there is a mismatch between what is in the text and what the example shows. Note ==== We're currently in the process of migrating Vue's documentation to v3. To ensure smooth progress, only PR's that fix critical bugs and/or misinformation will be accepted. If yours is not one of them, consider creating an issue instead and we will label it as for later tackling.