Carousel: Accessibility - when image set to 'Attachment page', clicking and tabbing should result in same behavior #39926
Labels
[Feature] Carousel
A fullscreen modal appearing when clicking on an image in a gallery or tiled gallery.
[Focus] Accessibility
Improving usability for all users (a11y)
[Pri] Normal
Issue
An image set to link to an attachment page opens a lightbox if Carousel is enabled, if using a keyboard and pressing enter. However if the image is clicked on with a mouse, it opens the attachment page (it seems there should be consistency here). If Carousel is not enabled, both clicking on it and tabbing to it then clicking / entering open the attachment page (this appears to be expected).
How to reproduce
This was tested on self-hosted and WoA.
/wp-admin/admin.php?page=jetpack#/writing
What should happen
I'd expect when clicking on the image with Carousel enabled, that a lightbox would open (or at the least, that the behavior between clicking and tabbing would be the same).
Related conversations
#39913 (review)
The text was updated successfully, but these errors were encountered: