Skip to content

Post author combo box receives focus on page load #42285

@alexstine

Description

@alexstine

Description

When editing an existing post and you have at least 25 users to select from the post author combo box, focus is automatically placed on the combo box after page load is complete. I expect this to not happen.

Step-by-step reproduction instructions

  1. Ensure you have 25+ users on your site.
  2. Open an existing post or page.
  3. Notice how focus is moved to the post author combo box just after the page finishes loading.

Screenshots, screen recording, code snippet

No response

Environment info

Gutenberg trunk

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

Metadata

Metadata

Labels

Needs DevReady for, and needs developer efforts[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[Package] Components/packages/components[Priority] HighUsed to indicate top priority items that need quick attention[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions