Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add aria label to images in Gallery block during edit mode. #11466

Merged
merged 4 commits into from
Nov 5, 2018

Conversation

BE-Webdesign
Copy link
Contributor

Fixes #11396

Description

Adds in an aria label to images in a Gallery Block during edit mode, making it easier to understand which image you are focusing while cycling through them.

How has this been tested?

Manual testing with various screen readers.

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.

@jasmussen jasmussen requested review from tofumatt and a team November 5, 2018 07:29
@jasmussen jasmussen added the [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). label Nov 5, 2018
@jasmussen
Copy link
Contributor

Thank you!

Copy link
Contributor

@youknowriad youknowriad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -1,3 +1,9 @@
## 2.1.8 (unreleased)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's a new feature, it should be 2.2.0

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I wasn't sure as it is a small non breaking change, more of a small enhancement. Will change this tonight.

@tofumatt tofumatt added this to the 4.3 milestone Nov 5, 2018
Copy link
Member

@tofumatt tofumatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! I upped the version number so I'm just going to merge this; thanks! 👍

@tofumatt tofumatt merged commit 1427890 into master Nov 5, 2018
@tofumatt tofumatt deleted the update/11396-improve-gallery-a11y branch November 5, 2018 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants