• Hi,

    I just realised something with the Image or Gallery block when using Gutenberg.
    They do not include the TITLE in the code.
    The ATL attribute is there but not the TITLE.

    Example of code automatically generated when using the IMAGE block:
    <img src="http://blablabla.jpg" alt="blablablou" width="100" height="100" />

    See? No title="my beautiful title"

    This means that when I do a mousehover over the image, nothing happens.

    Am I missing something or should the Gutenberg developers be asked to automatically add the TITLE attribute when using the Image and Gallery blocks?

Viewing 1 replies (of 1 total)
  • This request seems niche. I don’t often see the title attribute being used on anything that’s not an anchor tag. The purpose of the title attribute is to tell the user where the link goes to whenever it’s unclear.

    For example if a link says “Click Here” it’s unclear where that link goes, thus providing the title attribute will let the user know where the link is going to.

    I understand you may want to describe the image in the title attribute, and it could be used on other elements, but it’s not something I see often on websites and on elements that are not links.

    You can certainly propose this feature request to the Gutenberg Github page though.

Viewing 1 replies (of 1 total)

The topic ‘Image Title not included’ is closed to new replies.