- 🇨🇦Canada mgifford Ottawa, Ontario
In D8 now you can use CKEditor to add an image caption. This properly wraps an image in a figure/figcaption element. I do think this would be a useful option for the image system. It would also make the UI more consistent.
If this is done though, we'd need to keep in mind from the W3C "An image is contained within a figure element and has an associated caption provided using the figcaption element. Using an empty alt attribute hides an image from some users. If an image has a caption the image needs to be discoverable by users, otherwise a caption is present that refers to nothing for some users."
Some screenshots of what it could look like (and I added figure/figcaption here too)
Made with gimp sadly
Made properly with Firebug
Needs work
11.0 🔥
It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.