block-components icon indicating copy to clipboard operation
block-components copied to clipboard

Link: Allow for aria-label to be passed through as a prop

Open roseg43 opened this issue 3 years ago • 0 comments

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

roseg43 avatar Aug 04 '22 19:08 roseg43