Last 12 weeks · 216 commits
4 of 6 standards met
Describe the bug With the local search provider, renders the keyboard shortcut hint as real text inside the button: The button's visible text is therefore "Search" plus the literal "K" from the second `aria-labellabel-content-name-mismatchenabled: falsethemeConfig.search = { provider: 'local' }new AxeBuilder({ page }).withRules(['label-content-name-mismatch']).analyze()axe.run(document, { runOnly: { type: 'rule', values: ['label-content-name-mismatch'] } }).DocSearchbuttonAriaLabelVPNavBarSearchButton.vue.DocSearch-Button-Keyslabel-content-name-mismatchDocSearch-Button-KeysLabel in Name`)
Description Adds a to auto-scroll to the toc active item if it's out of view. An alternative to #4735 where it always scrolls, this PR is less aggressive. Linked Issues fixes #4734 Additional Context Test this on https://deploy-preview-5377--vitepress-docs.netlify.app/reference/site-config NOTE: Because the outline marker has a transition on , it'll look a bit jittery when auto-scrolling for both smooth and non-smooth scrolling. I found enabling smooth scrolling when calling to be less distracting though. [!TIP] The author can publish a _preview release_ by commenting after creating the PR.
Repository: vuejs/vitepress. Description: Vite & Vue powered static site generator. Stars: 18242, Forks: 2736. Primary language: TypeScript. Languages: TypeScript (65.4%), Vue (23%), CSS (10.1%), Python (1.3%), JavaScript (0.3%). License: MIT. Homepage: https://vitepress.dev Topics: docs-generator, hacktoberfest, markdown, ssg, vite, vue. Latest release: v2.0.0-alpha.19 (3w ago). Open PRs: 74, open issues: 238. Last activity: 1d ago. Community health: 62%. Top contributors: brc-dd, yyx990803, kiaking, zonemeen, posva, antfu, userquin, meteorlxy, bluwy, dependabot[bot] and others.