-
Notifications
You must be signed in to change notification settings - Fork 123
Set default image behavior to expand on click (lightbox) #529
Comments
I would strongly recommend against this because the lightbox has multiple issues. |
Can you give sources? This feature is currently planned for 6.4. |
The feature doesn't have its own label, here are some: Tracking issue: WordPress/gutenberg#51132 WordPress/gutenberg#54921 There are accessibility issues that I have run into and that I know have been discussed, but right now, I cannot find specific issues for them; they may only be mentioned in other discussions. |
@carolinan Thanks for catching this. This had been working previously but had regressed in a recent shuffle of the code. Here's a PR fixing it. I haven't come across other accessibility issues or been made aware of any. As of the last time accessibility reviewers took a look, it also seemed to be working well, so would appreciate links to those discussions if you or others could surface them 🙏 As far as enabling the lightbox by default goes, I personally don't think that's necessary for core and it can instead be showcased via themes, though am happy to hear other opinions and further thoughts on that. |
Agreed! That's why I'm proposing it here in TT4. |
Got it! Pardon, I missed that this is in the Twenty Twenty Four repo 😆 |
@carolinan Have you followed the development of the lightbox recently and can you tell us if the A11Y issues have been worked on? |
Only some are worked on https://github.com/WordPress/gutenberg/issues?q=is%3Aopen+is%3Aissue+author%3Aafercia+label%3A%22%5BBlock%5D+Image%22 |
There is a follow-up PR to lightbox ready for testing, but it's an exploration; not a matter-of-fact. Worth a look for sure though. |
Going to close this as not-planned. The lightbox feature needs a bit more attention before we should enable it by default out-of-the-box. This is a good PR #530 to showcase the how though, for future reference. |
Let's make a point of including a patch for TT4 on 6.5 including this change |
To showcase the new lightbox functionality in core, I propose we set lightbox (Expand on click) on for images.
The text was updated successfully, but these errors were encountered: