You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Thanks for contributing to WordPress Playground Tools! -->
## What?
This PR adds ARIA labels to the code editor's "Add File" and "Download
Code as a Zip File" buttons which previously only included visual
indications of their function.
Fixes#286
## Why?
Without ARIA labels, people using assistive technology may have no way
to know what the buttons do.
## Testing Instructions
- `npx nx run wordpress-playground-block:dev`
- Create a new post
- Add a Playground block in the editor
- Use a screen reader to engage with the "Add File" and "Download Code
as Zip File" button and confirm the labels are recognized
- Publish the post and use a screen reader to confirm the "Download Code
as Zip File" button has a recognized label
Test page: https://learn.wordpress.org/test/wordpress-playground-block-plugin-test-page/
There is an unlabeled button with icon only, not sure what it should be called.
The text was updated successfully, but these errors were encountered: