-
Notifications
You must be signed in to change notification settings - Fork 820
Tiled Gallery: Fix accessibility / AMP related block validation issues #43345
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
base: trunk
Are you sure you want to change the base?
Tiled Gallery: Fix accessibility / AMP related block validation issues #43345
Conversation
…n appropriate - conditionally
… and previous changes
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! Jetpack plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
Code Coverage SummaryCoverage changed in 1 file.
25 files are newly checked for coverage. Only the first 5 are listed here.
Full summary · PHP report · JS report If appropriate, add one of these labels to override the failing coverage check:
Covered by non-unit tests
|
be38926
to
f53ea90
Compare
In progress
Potentially fixes several Tiled Gallery PRs
( to be updated)
Potentially fixes VULCAN-90 (and VULCAN-4, VULCAN-35, VULCAN-27)
Current issues:
data-amp-layout
, we will now have an issue with dynamic widths and images resizing when Tiled Gallery blocks are added to Layout / Column and similar blocks. This was originally added in PR 18791 (though the issue it was originally aiming to fix is still present - if we re-add `data-amp-layout then there are block validation issues there).Proposed changes:
Other information:
Jetpack product discussion
Does this pull request change what data or activity we track or use?
Testing instructions:
To be completed.
On a self-hosted test site, with this PR applied (locally), or on a WoA or Jurassic Ninja test site with the Jetpack Beta tester plugin, and this PR applied. As a note, the reported issues predominantly affect Simple sites and multisites, so prioritize testing those (see further down):
/wp-admin/admin.php?page=jetpack#writing
). * There should be no block validation issues. Both in the editor and front-end, behaviour should be as expected.tabindex
of0
,role
ofbutton
, and anaria-label
. In the editor the image markup should not include anaria-label
,role
ortabindex
.tabindex
,aria-label
orrole
. If link is set to none, you won't be able to click on the images (it won't do anything). For any of the other link options, the link should work. There should still be noaria-label
,tabindex
or role - as the image is no longer the clickable element but instead is wrapped in an anchor tag.Multisites:
Simple:
/wp-admin/options-media.php
)