New work form's fields and labels for chapter title and number are not properly associated

Description

For the request more invites fields:

  1. Log in

  2. Visit Post > New Work

  3. Check "This work has multiple chapters"

  4. Click on the labels "Chapter 1 of" and "Chapter Title:"

What should happen
In many browsers, when you're using a mouse and you click a form field's label, it should place focus on the field.

What actually happens
None of that.

Activity

Show:
cosette
September 10, 2019, 6:44 PM

both fields are highlighted when their labels are clicked (on mac chrome and iphone chrome) 👍

Briar
September 10, 2019, 2:56 PM

Fix works on my mobile browser (Chrome, Android)!

Ariana
September 10, 2019, 7:26 AM

Confirming that on Test, clicking on Chapter 1 of and Chapter Title respectively causes the focus to move to the corresponding text input, whereas they're both inert on Beta.

This looks good to go.👍🏻

Sarken
September 10, 2019, 5:57 AM

Using Safari 12.1.2 on macOS, went to the post new work page, ticked the “This work has multiple chapters” box, and then clicked on the labels for the two fields that appeared. “Chapter 1 of” put the focus on the box with the ? and “Chapter Title:” put it on the other box.

Looks good!

enigel lj
September 10, 2019, 12:22 AM

DeployedToBeta

Assignee

lethnie

Reporter

redsummernight

Roadmap

Works

Priority

Medium

Affects versions

Fix versions

Components

FrontEnd

Difficulty

Easy

Milestone

Internal 0.9