\r\n \u003C/template>\r\n \u003C/div>\r\n \u003C/VPFlyout>\r\n\u003C/template>\r\n```\r\n\r\nI'm planning to provide a PR for this issue, if you agree. But I might need some guidance in how to provide the changes properly.\r\n\r\nIt seems like setting property `label` for component `VPFlyout` should resolve the issue. However, this value should be configurable for different locales IMO.\r\n\n\n### Reproduction\n\nConfigure vitepress for 2 locales at least to enable the \"Switch Language\" button in the navbar. Using a screen reader, the button is not announced properly (e.g. \"popup button collapse\").\n\n### Expected behavior\n\nThe `aria-label` property of the `button` element of `VPFlyout` in `VPNavBarTranslations` should be set.\r\n\r\n```html\r\n\u003C!-- src/client/theme-default/components/VPNavBarTranslations.vue -->\r\n\u003Ctemplate>\r\n \u003CVPFlyout\r\n v-if=\"localeLinks.length && currentLang.label\"\r\n class=\"VPNavBarTranslations\"\r\n :icon=\"VPIconLanguages\"\r\n :label=\"Switch Language\"\r\n >\r\n \u003Cdiv class=\"items\">\r\n \u003Cp class=\"title\">{{ currentLang.label }}\u003C/p>\r\n\r\n \u003Ctemplate v-for=\"locale in localeLinks\" :key=\"locale.link\">\r\n \u003CVPMenuLink :item=\"locale\" />\r\n \u003C/template>\r\n \u003C/div>\r\n \u003C/VPFlyout>\r\n\u003C/template>\r\n```\r\n\r\nor\r\n\r\n```html\r\n\u003C!-- src/client/theme-default/components/VPNavBarTranslations.vue -->\r\n\u003Ctemplate>\r\n \u003CVPFlyout\r\n v-if=\"localeLinks.length && currentLang.label\"\r\n class=\"VPNavBarTranslations\"\r\n :icon=\"VPIconLanguages\"\r\n :label=\"currentLang.languageButtonAriaLabel\"\r\n >\r\n \u003Cdiv class=\"items\">\r\n \u003Cp class=\"title\">{{ currentLang.label }}\u003C/p>\r\n\r\n \u003Ctemplate v-for=\"locale in localeLinks\" :key=\"locale.link\">\r\n \u003CVPMenuLink :item=\"locale\" />\r\n \u003C/template>\r\n \u003C/div>\r\n \u003C/VPFlyout>\r\n\u003C/template>\r\n```\r\n\r\nRelevant HTML code should look like this:\r\n\r\n```html\r\n\u003Cdiv class=\"VPFlyout VPNavBarTranslations translations\">\r\n \u003Cbutton type=\"button\" class=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\" aria-label=\"Switch Language\">\r\n \u003Cspan class=\"text\">\r\n \u003Csvg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" focusable=\"false\" class=\"option-icon\" >\r\n \u003Csvg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" focusable=\"false\" class=\"text-icon\">\r\n \u003C/span>\r\n \u003C/button>\r\n \u003Cdiv class=\"menu\">\r\n \u003Cdiv class=\"VPMenu\">\r\n \u003Cdiv class=\"items\">\r\n \u003Cp class=\"title\">Deutsch\u003C/p>\r\n \u003Cdiv class=\"VPMenuLink\">\r\n \u003Ca class=\"VPLink link\" href=\"...\">English\u003C/a>\r\n \u003C/div>\r\n \u003C/div>\r\n \u003C/div>\r\n \u003C/div>\r\n\u003C/div>\r\n```\n\n### System Info\n\n```shell\nSystem:\r\n OS: Linux 5.15 Ubuntu 20.04.5 LTS (Focal Fossa)\r\n CPU: (8) x64 Intel(R) Xeon(R) CPU E3-1505M v5 @ 2.80GHz\r\n Memory: 22.58 GB / 31.13 GB\r\n Container: Yes\r\n Shell: 5.0.17 - /bin/bash\r\n Binaries:\r\n Node: 18.14.0 - ~/.nvm/versions/node/v18.14.0/bin/node\r\n Yarn: 1.22.19 - ~/.nvm/versions/node/v18.14.0/bin/yarn\r\n npm: 9.3.1 - ~/.nvm/versions/node/v18.14.0/bin/npm\r\n Browsers:\r\n Chrome: 110.0.5481.177\r\n Chromium: 110.0.5481.177\r\n Firefox: 110.0.1\n```\n\n\n### Additional context\n\nFollowing website explains the accessibility issue and possible solution in detail: https://dequeuniversity.com/rules/axe/4.4/button-name\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3082],{"name":3083,"color":3084},"theme","0754FB",2021,"'Switch Language' Button does not have an accessible name","2023-03-16T00:04:26Z","https://github.com/vuejs/vitepress/issues/2021",0.76272625,{"description":3091,"labels":3092,"number":3093,"owner":3030,"repository":3031,"state":3052,"title":3094,"updated_at":3095,"url":3096,"score":3097},"### Is your feature request related to a problem? Please describe.\n\nCurrent when we change the language then click the homepage button it won't redirect to the current language homepage. \r\nIt's redirect to the default home page.\r\neg. repo https://github.com/YunYouJun/hexo-theme-yun site https://yun.yunyoujun.cn/\r\nstep to reproduce\r\n1 change the current language\r\n2 click the homepage button\r\n\r\n\n\n### Describe the solution you'd like\n\nredirect the homepage according to current language when homepage button clicked\r\neg. when current language is English it should redirect to the English homepage, if it's Chinese,the homepage should be Chinese one.\n\n### Describe alternatives you've considered\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],967,"(i18n) redirect to the corresponding homepage of language","2023-01-21T14:30:13Z","https://github.com/vuejs/vitepress/issues/967",0.76814604,{"description":3099,"labels":3100,"number":3107,"owner":3030,"repository":3031,"state":3052,"title":3108,"updated_at":3109,"url":3110,"score":3111},"### Is your feature request related to a problem? Please describe.\n\nWhen I need to determine whether to enter different multilanguages based on the user ua, using use Router().go in the setup stage will result in adding a browser record. This has a problem when opening the webview\n\nhttps://stackblitz.com/edit/vite-4ax23dxs?file=docs%2F.vitepress%2Ftheme%2Findex.ts\n\n### Describe the solution you'd like\n\nsupport `useRouter().replace` to handle the first route's record \n\n### Describe alternatives you've considered\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [x] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [x] Read the [docs](https://vitepress.dev).\n- [x] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [x] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[3101,3104],{"name":3102,"color":3103},"contribution welcome","11E4B8",{"name":3105,"color":3106},"client","1AA9E5",4787,"Can support replace function into useRouter()?","2025-06-13T12:58:11Z","https://github.com/vuejs/vitepress/issues/4787",0.7750709,{"description":3113,"labels":3114,"number":3116,"owner":3030,"repository":3031,"state":3052,"title":3117,"updated_at":3118,"url":3119,"score":3120},"### Describe the bug\n\nThis is an issue with the Vitepress alpha version. We have some code blocks with line numbers enabled in markdown. It would appear that using the `copy to clipboard` button is also somehow grabbing the line numbers along with it. \n\n### Reproduction\n\nAttaching our docs link here: https://dev.fairdataihub.org/docs/README.html#tech-stack\r\nYou can click on the copy to clipboard button to try it out\n\n### Expected behavior\n\nOnly the code block content should be copied. \n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.22000\r\n CPU: (20) x64 Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz\r\n Memory: 16.33 GB / 31.81 GB\r\n Binaries:\r\n Node: 16.14.2 - ~\\anaconda3\\envs\\nuxt-env\\node.EXE\r\n Yarn: 1.22.11 - ~\\anaconda3\\envs\\nuxt-env\\yarn.CMD\r\n npm: 8.12.2 - ~\\Desktop\\fairdataihub-docs\\node_modules\\.bin\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.22000.120.0), Chromium (103.0.1264.37)\r\n Internet Explorer: 11.0.22000.120\r\n npmPackages:\r\n vitepress: 1.0.0-alpha.4 => 1.0.0-alpha.4\r\n\r\nNot sure if these are correct since I'm on windows 11...\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3115],{"name":3061,"color":3062},884,"Copy to clipboard feature also adding line numbers","2023-01-21T14:30:10Z","https://github.com/vuejs/vitepress/issues/884",0.7770127,{"description":3122,"labels":3123,"number":3125,"owner":3030,"repository":3031,"state":3052,"title":3126,"updated_at":3127,"url":3128,"score":3129},"Now that i18n is still been implemented, could this be reconsidered?\r\nhttps://github.com/vuejs/vuepress/issues/363#issue-321042383\r\n\r\nIt's very messy that the default language has not the same structure than the rest.\r\nIt would also be easier for using the same relative links to common assets in all languages.\r\n\r\nThanks\r\n\r\n\r\n",[3124],{"name":3061,"color":3062},291,"Default language on it's own directory like other languages","2023-01-25T00:04:23Z","https://github.com/vuejs/vitepress/issues/291",0.7824793,["Reactive",3131],{},["Set"],["ShallowReactive",3134],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fwuHgsUGLCm37T_sFiOUlcjZxt8_as_LkC7AYOJ_Swss":-1},"/vuejs/vitepress/4772"]