[wp-trac] [WordPress Trac] #59513: The image lightbox feature has display problems in multiple bundled themes

WordPress Trac noreply at wordpress.org
Mon Oct 2 07:25:23 UTC 2023


#59513: The image lightbox feature has display problems in multiple bundled themes
---------------------------+-----------------------------
 Reporter:  poena          |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 The image lightbox displays incorrectly in some classic bundled themes.
 It seems the lightbox button is inheriting the theme's button style.

 I recommend continued testing in all classic bundled themes.

 == Testing instructions
 Install WordPress trunk (At the time of writing this, that would be the
 6.4 beta 1)
 Activate a classic theme.
 Create a new post or page and add an image block. Select an image.
 In the block settings sidebar, enable the option "Expand on Click".

 - Confirm that the image shows, both in the content and when the lightbox
 is opened.
 - Confirm that the close button is visible and the button text readable.



 == Twenty Twenty-One
 Image blocks with the lightbox featured enabled show as a dark grey area.
 The image only shows when you hover over it.


 == Twenty Twenty
 No issues found


 == Twenty Nineteen
 The image shows by default, but is black when you hover over it.
 ''Opinion:'' when the lightbox is opened, the close button is not broken
 but may need some styling to match the theme.


 == Twenty Seventeen
 The image shows by default, but is grey when you hover over it.
 ''Opinion:'' when the lightbox is opened, the close button is not broken
 but may need some styling to match the theme.

 == Twenty Sixteen
 The image shows by default, but is blue when you hover over it.
 When the lightbox is opened, there is a color contrast issue because the
 text (the X symbol) in the button is too dark against the blue background.


 == Twenty Twelve
 The image shows by default, but is white when you hover over it.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59513>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list