block-components
block-components copied to clipboard
Link: Allow for aria-label to be passed through as a prop
Is your enhancement related to a problem? Please describe.
Oftentimes we want to provide a description giving context as to what a link is for in a block. Link text is quite generic, and while great for basic links, doesn't allow us to provide rich accessible descriptions.
I propose using Link text as the default aria-label and allowing for custom labels to be passed through as a prop.
Designs
No response
Describe alternatives you've considered
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct