Skip to content

Media & Text: Add field that allows changing image alt text from the sidebar#11073

Merged
jorgefilipecosta merged 1 commit into
masterfrom
add/alt-picker-media-text
Oct 26, 2018
Merged

Media & Text: Add field that allows changing image alt text from the sidebar#11073
jorgefilipecosta merged 1 commit into
masterfrom
add/alt-picker-media-text

Conversation

@jorgefilipecosta

Copy link
Copy Markdown
Member

This PR adds a field that allows changing the alt of the selected image on Media & Text block from the sidebar.

Fixes: #10924

How has this been tested?

I checked that I can correctly change the alt text of the image from the sidebar.
I checked that when a video is selected the alt text input field does not appear.

Screenshots

image

@jorgefilipecosta jorgefilipecosta self-assigned this Oct 25, 2018

@Soean Soean left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, the code looks fine and the alt text works in backend and frontend
👍

@Soean Soean added [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). [Feature] Blocks Overall functionality of blocks labels Oct 25, 2018
@StaggerLeee

Copy link
Copy Markdown

It should have full wide option. Many themes do this and if you plan to turn Gutenberg to visual theme editor this option is necessary.

@jorgefilipecosta jorgefilipecosta merged commit 506f4ee into master Oct 26, 2018
@jorgefilipecosta jorgefilipecosta deleted the add/alt-picker-media-text branch October 26, 2018 10:14
@jorgefilipecosta jorgefilipecosta added this to the 4.2 milestone Oct 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] Blocks Overall functionality of blocks [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants