WordPress.org

Make WordPress Core

Opened 19 months ago

Last modified 11 months ago

#38460 new defect (bug)

New user form on network site has non-required fields that have to be filled in

Reported by: jackreichert Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Networks and Sites Keywords: has-patch required-fields
Focuses: multisite Cc:

Description (last modified by ocean90)

Similar to ticket #37331 In multi-site's New User form, there are several fields that are not required to submit the form (required and aria-required attributes are not set) but the form will fail server-side validation if these fields are not filled in.

Attachments (2)

38460.diff (1.9 KB) - added by jackreichert 19 months ago.
patch to fix ticket
38460-1.diff (1.7 KB) - added by jackreichert 19 months ago.
Per discussion on #37331, patch updated.

Download all attachments as: .zip

Change History (9)

@jackreichert
19 months ago

patch to fix ticket

#1 @jackreichert
19 months ago

  • Keywords has-patch added

#2 @jackreichert
19 months ago

Since I was working on [37331] I thought I should take the liberty to fix this form as well.

#3 @ocean90
19 months ago

  • Description modified (diff)

@jackreichert
19 months ago

Per discussion on #37331, patch updated.

#4 @afercia
19 months ago

  • Keywords required-fields added

This ticket was mentioned in Slack in #core-multisite by flixos90. View the logs.


11 months ago

#6 @flixos90
11 months ago

@afercia We just looked at this again during our multisite ticket-scrub. Are there any updates yet from the a11y team on how to deal with required fields in the admin?

#7 @afercia
11 months ago

@flixos90 I'm afraid we haven't came to a conclusion about the best pattern to use for required fields.

Note: See TracTickets for help on using tickets.