Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"title" attribute for figure/image block #69496

Open
srikanthvlr opened this issue Mar 9, 2025 · 2 comments · May be fixed by #69499
Open

"title" attribute for figure/image block #69496

srikanthvlr opened this issue Mar 9, 2025 · 2 comments · May be fixed by #69499
Assignees
Labels
[Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.

Comments

@srikanthvlr
Copy link

You can indicate what happens when you click on the image.

It will be nice if we can make use of title attribute to hint what happens when you click on the image. Say for example you set title attribute to "click view book review" or "click to view hires image" or "click to download hires image"

With title attribute in place, it will be pop up whenever the user moves the cursor over figure/image block.

The editor or author should be able to set the title attribute like you can set Alternative text under settings.
Thanks.

@srikanthvlr srikanthvlr added the [Type] Enhancement A suggestion for improvement. label Mar 9, 2025
@HILAYTRIVEDI
Copy link
Contributor

Thank you @srikanthvlr , for the enhancement I will look in to this.

@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Mar 9, 2025
@carolinan
Copy link
Contributor

Hi,
the title attribute is being removed from WordPress core. It should not be added to the blocks.
See https://core.trac.wordpress.org/ticket/24766

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants