Skip to content

Commit

Permalink
Rename Alt to Alternative Text in content only image toolbar (#64841)
Browse files Browse the repository at this point in the history
Co-authored-by: jeryj <[email protected]>
Co-authored-by: getdave <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: talldan <[email protected]>
  • Loading branch information
5 people authored Aug 28, 2024
1 parent fdff00c commit bcf7a91
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/block-library/src/image/image.js
Original file line number Diff line number Diff line change
@@ -641,7 +641,7 @@ export default function Image( {
} }
>
{ _x(
'Alt',
'Alternative text',
'Alternative text for an image. Block toolbar label, a low character count is preferred.'
) }
</ToolbarButton>
2 changes: 1 addition & 1 deletion test/e2e/specs/editor/various/pattern-overrides.spec.js
Original file line number Diff line number Diff line change
@@ -1131,7 +1131,7 @@ test.describe( 'Pattern Overrides', () => {
/\/wp-content\/uploads\//
);
await editor.showBlockToolbar();
await editor.clickBlockToolbarButton( 'Alt' );
await editor.clickBlockToolbarButton( 'Alternative text' );
await page
.getByRole( 'textbox', { name: 'alternative text' } )
.fill( 'Test Image' );

1 comment on commit bcf7a91

@github-actions
Copy link

Choose a reason for hiding this comment

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

Flaky tests detected in bcf7a91.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/10601377974
📝 Reported issues:

Please sign in to comment.