ITADN

Define the aria-label for the extra options menu of the copy page widget on the documentation website

#3835Openjoaopalmeiro 创建于 2026-03-28
triage
J
joaopalmeirocommented
### Description Hi! 👋 Currently, in the [copy page widget](https://github.com/chakra-ui/ark/blob/c0fa333f316328184c07ca7267e40e0f12079ea4/website/src/components/copy-page-widget.tsx#L18-L80) at the top of each page on the documentation website, there is no clear label for the menu next to the "Copy Page" (as Markdown) button (a screen reader only announces that it is a menu). That being said, I think it would be useful to add an `aria-label` to this menu to make it clearer. Two suggestions: - More AI options - More Markdown options ([source](https://docs.github.com/en/repositories/creating-and-managing-repositories/quickstart-for-repositories)) What do you think? Let me know if I can open a PR if you agree with the change. ### Link to Reproduction (or Detailed Explanation) https://ark-ui.com/docs/components/menu ### Steps to Reproduce 1. Go to https://ark-ui.com/docs/components/menu (or a similar documentation page). 2. Turn on the screen reader (for example, VoiceOver on macOS) and tab to the "Copy Page" button. 3. Press tab again and listen to the "generic" announcement about this element being a menu. ### Ark UI Version 5.35.0 ### Framework - [ ] React - [ ] Solid - [ ] Vue - [ ] Svelte ### Browser _No response_ ### Additional Information _No response_
0 条评论