Description
Fix accessibility of 'Try it on StackBlitz' and 'Copy to clipboard' buttons.
Motivation & Context
Svgs inside 'Try it on StackBlitz' and 'Copy to clipboard' buttons are pure decoration so they must be ignored by any assistive technology.
See https://www.w3.org/TR/WCAG21/#non-text-content for more details.
Type of changes
-
New feature (non-breaking change which adds functionality)
Checklist
-
I have read the contributing guidelines -
My code follows the code style of the project (using npm run lint
) -
My change introduces changes to the documentation -
I have updated the documentation accordingly -
I have added tests to cover my changes -
All new and existing tests passed