Problem/Motivation
Using Drupal 10.2.0 and PHP 8.1.4.
If I miss filling out the 'label' input and try to add a new field, the focus doesn't shift onto the erroneous input element. I've attached a screen recording which illustrates this.
Steps to reproduce
1. Go to /admin/structure/types/manage/article/fields/add-field.
2. Leave the label input empty. Choose a field type which displays additional options requiring you to scroll down below (for example, 'formatted text'). Choose any option and hit continue.
3. Observe the page refreshing but not focusing on the empty label input.