Skip to content

Conversation

@snehapatil2001
Copy link
Contributor

@snehapatil2001 snehapatil2001 commented Jun 19, 2024

Issue: #62177

What?

  • Fixes issue where block names were ambiguous across languages by renaming "Title" block to "Post Title".

Why?

  • The current naming convention led to confusion, especially in languages where "Title" and "Heading" are translated similarly, causing accessibility issues for screen reader users.
  • This PR aims to clarify the distinction between "Title" and "Heading" blocks across languages, improving usability and accessibility.

How?

  • Updated block registration settings to change the name of the "Title" block to "Post Title".
  • This change ensures consistency and clarity in block naming, making it easier for users and translators to differentiate between the two block types.

Testing Instructions

  1. Set WordPress admin interface to various languages: Italian, Portuguese, Swedish, Russian, Chinese.
  2. Open a post or page editor.
  3. Insert both "Post Title" and "Heading" blocks.
  4. Verify that the block names are correctly translated and distinguishable in each language.
  5. Test accessibility with screen readers to ensure proper announcement of block names.

Testing Instructions for Keyboard

  1. Navigate to the block inserter using keyboard navigation.
  2. Insert "Post Title" and "Heading" blocks.
  3. Verify that the keyboard shortcuts and navigation paths are intuitive and accessible.

Screenshots or Screencast

Screenshot 2024-06-19 at 3 38 15 PM

@github-actions
Copy link

github-actions bot commented Jun 19, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: snehapatil2001 <snehapatil02@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@github-actions github-actions bot added the First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository label Jun 19, 2024
@github-actions
Copy link

👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @snehapatil2001! In case you missed it, we'd love to have you join us in our Slack community.

If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information.

@akasunil akasunil added [Type] Bug An existing feature does not function as intended [Block] Post Title Affects the Post Title Block labels Jun 19, 2024
@Mamaduka
Copy link
Member

Thanks for contributing, @snehapatil2001!

I think the linked issue needs a decision before it's actionable. The Title block can be used with various post types, which is why the name was made generic. See: #50147.

@Mamaduka Mamaduka added the [Status] Blocked Used to indicate that a current effort isn't able to move forward label Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Block] Post Title Affects the Post Title Block First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository [Status] Blocked Used to indicate that a current effort isn't able to move forward [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants