Skip to content

Content Types experiment: Focus loss after creating a new post type #78011

Closed

Description

@t-hamano

Description

After creating a new post type, the focus is lost. The focus should remain on the Save button.

Step-by-step reproduction instructions

  1. Enable the Content types experiment.
  2. Go to Settings > Post Types
  3. Click the "Add post type" button.
  4. Fill in the required fields and click the Create button.
  5. The button's text changes to "Save", and it loses focus.

Screenshots, screen recording, code snippet

Recording.2026-05-06.200812.mp4

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Activity

  1. added
    [Type] Bug
    [Focus] Accessibility (a11y)
    on May 6, 2026
  2. added
    [Status] In Progress
    on May 6, 2026
  3. hbhalodia commented on Jun 11, 2026

    @hbhalodia
    Contributor

    Hi @t-hamano @R1shabh-Gupta, This is also an issue with the taxonomy. See below screencast. We can fix both of them in current PR and update issue title and description to include both taxonomy and post type? WDYT

    Screen.Recording.2026-06-11.at.1.49.00.PM.mov

    Thanks,

  4. ntsekouras commented on Aug 10, 2026

    @ntsekouras
    Contributor

    Thanks for the issue! I'm closing since the experiment was removed here: #81340.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Focus] Accessibility (a11y)[Status] In Progress[Type] Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions