More context for copy and StackBlitz buttons for screen readers #1217
Labels
👂 accessibility
bootstrap-side
Things to implement in Bootstrap first
📖 documentation
Improvements or additions to documentation
🧩 enhancement
v5
In our examples, we have a section where the corresponding source code is displayed (e.g. https://boosted.netlify.app/docs/5.1/components/accordion/#example). In this section, we can have up to two buttons to copy the source code in the clipboard and a try-it button that creates a reproduction environment in StackBlitz.
Those two buttons have no context for screen readers so they are displayed as a list of "Copy button", "Copy button", "Copy button", etc.
The purpose of this issue is to enhance this behavior to make them more accessible by providing some context for those buttons. It will probably have an impact on how the example shortcode is built.
It would be better to provide such an enhancement directly in Bootstrap to have their feedback as well.
The text was updated successfully, but these errors were encountered: