You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When inserting an image in the Docs editor, no field allows providing alternative text. Only a caption is offered, which does not substitute for alternative text.
What did you expect to happen?
A dedicated alternative text field, distinct from the caption, must be available in the image editing panel. Its value must be reflected in the alt attribute of the generated element.
Steps to reproduce
Open a Docs document
Insert an image via / or the toolbar
Open the image editing panel
Notice that no alternative text field is available, only a caption field
Possible solution
Add an "Alternative text" field in the image editing panel, distinct from the caption field.
Additional context / Screenshots
The caption is visible content associated with the image; it does not replace alternative text, which is transmitted to assistive technologies and must describe the content or function of the image.
A blind user navigating with a screen reader inserts an image and has no way to provide alternative text. The image will be rendered without accessible description for users relying on assistive technologies.
No work is being done on this @adgator101, happy to accept a contribution for this though. I would expect that the alt text is stored on the image block as a prop, the field is optional, there is a button that allows you to add one if you want to, and obviously this would control the alt attribute on the image itself when in-editor & exporting to HTML
Hi, in the default BlockNote editor, selecting an image/video allows you to rename it in the formatting toolbar. This also sets the alternative text. Does this solve the issue?
Jumping in here to figure out a good UX. I think it needs to be clear to end-users that they can edit an alternative text. We can also make some other improvements to the image toolbar / options
Looking at the current UX we have for images, we:
show a download option
show a toggle preview option
show a rename option
I think neither of these are very useful for end-users, and come mostly from the fact that we re-use the same component for file / audio / image blocks.
I would:
hide the download option
hide the "toggle preview" from the UI (I'm neutral on whether we keep the showPreview prop, maybe better to keep for backwards compatibility)
Drop the rename from the UI (I'm neutral on whether we keep the name prop, maybe better and easier to keep for backwards compatibility)
We should then add the "alternative text" option instead. We can choose to:
@YousefED thanks for surfacing the UX matter on this.
Quickly benchmarked what Notion does.
I'd keep the download option and the caption
And add an alt text option and an expand button to display the image in a fullscreen player (can be triggered by space and closed by esc).
Hi @matthewlipski ! I tried the changes from #3337 on the default blocks example, with the keyboard and a screen reader. The alternative text field does what this issue asks for, thanks for that.
This part is good: The "Alternative text" button is separate from "Edit caption", the text I typed is saved in the alt of the image, and Enter on the button opens the field so the screen reader can read its name and the current value.
A couple of small things:
The field only has a placeholder, no real label. Once something is typed, the placeholder disappears, so nothing on screen says what the field is. A label (even a hidden one) would help. Same thing on the caption field.
The screen reader says "autocomplete" even though the field has no suggestions. Turning autocomplete off would stop that.
The input can't be tabbed to (tabindex="-1"). It gets focus when it opens, but after Shift+Tab I couldn't get back into it with Tab. Worth a look.
The little icon inside the field is read by the screen reader. Hiding it from assistive tech would be enough.
One thing that is not part of this issue: once an image is already in the document, arrow keys select it and the toolbar shows up, but it takes a lot of Tabs to actually reach it, and nothing tells you the toolbar is there. I'll note that on #2514.
Activity
YousefED commentedon Jun 15, 2026
See additional requirements here: #2474
adgator101 commentedon Aug 3, 2026
Hi, is any active work being done to solve this issue?
nperez0111 commentedon Aug 3, 2026
No work is being done on this @adgator101, happy to accept a contribution for this though. I would expect that the alt text is stored on the image block as a prop, the field is optional, there is a button that allows you to add one if you want to, and obviously this would control the alt attribute on the image itself when in-editor & exporting to HTML
matthewlipski commentedon Oct 22, 2026
Hi, in the default BlockNote editor, selecting an image/video allows you to rename it in the formatting toolbar. This also sets the alternative text. Does this solve the issue?
YousefED commentedon Nov 10, 2026
Jumping in here to figure out a good UX. I think it needs to be clear to end-users that they can edit an alternative text. We can also make some other improvements to the image toolbar / options
Looking at the current UX we have for images, we:
toggle previewoptionrenameoptionI think neither of these are very useful for end-users, and come mostly from the fact that we re-use the same component for file / audio / image blocks.
I would:
showPreviewprop, maybe better to keep for backwards compatibility)renamefrom the UI (I'm neutral on whether we keep thenameprop, maybe better and easier to keep for backwards compatibility)We should then add the "alternative text" option instead. We can choose to:
namepropvirgile-dev commentedon Nov 10, 2026
@YousefED thanks for surfacing the UX matter on this.
Quickly benchmarked what Notion does.
I'd keep the download option and the caption
And add an alt text option and an expand button to display the image in a fullscreen player (can be triggered by
spaceand closed byesc).Ovgodd commentedon Nov 18, 2026
Hi @matthewlipski ! I tried the changes from #3337 on the default blocks example, with the keyboard and a screen reader. The alternative text field does what this issue asks for, thanks for that.
This part is good: The "Alternative text" button is separate from "Edit caption", the text I typed is saved in the alt of the image, and Enter on the button opens the field so the screen reader can read its name and the current value.
A couple of small things:
One thing that is not part of this issue: once an image is already in the document, arrow keys select it and the toolbar shows up, but it takes a lot of Tabs to actually reach it, and nothing tells you the toolbar is there. I'll note that on #2514.
Thanks again!