When an image (Image Block) has Duotone feature active, the caption ( <figcaption> ) is displayed differently. This happens on classic themes (tested so far: Toujours and Twenty Fifteen)
Steps to reproduce
Make sure the website uses a classic theme. e.g. Toujours
Create a post/page
Insert an image using Image Block
Add caption
Insert another image using Image Block
Set duotone filter
OR, set duotone filter, then click "Unset"
Add caption
What you expected to happen
Both images should have the caption displayed in the same way (same font size, same color, same display)
What actually happened
The Image Block with regular image will display the caption properly as expected
The Image Block with duotone-applied image will have the caption text displayed just like regular text
And this is when the duotone filter is set to "Unset". Notice how the image is back to "normal", but the caption display stays.
The cause:
<figure class="wp-duotone-unset-1">
... or...
<figure class="wp-duotone-COLOR CODE">
Impact
Some (< 50%)
Available workarounds?
Yes, easy to implement
Platform (Simple and/or Atomic)
Simple, Atomic
Logs or notes
Workaround:
Remove duotone filter from the image (not ideal), or...
Use CSS (only applicable on WPCOM site in the Premium plan and above)
Quick summary
When an image (Image Block) has Duotone feature active, the caption (
<figcaption>
) is displayed differently. This happens on classic themes (tested so far: Toujours and Twenty Fifteen)Steps to reproduce
What you expected to happen
Both images should have the caption displayed in the same way (same font size, same color, same display)
What actually happened
The Image Block with regular image will display the caption properly as expected
The Image Block with duotone-applied image will have the caption text displayed just like regular text
And this is when the duotone filter is set to "Unset". Notice how the image is back to "normal", but the caption display stays.
The cause:
... or...
Impact
Some (< 50%)
Available workarounds?
Yes, easy to implement
Platform (Simple and/or Atomic)
Simple, Atomic
Logs or notes
Workaround: