[wp-trac] [WordPress Trac] #54394: Add functions for required fields indicator and message

WordPress Trac noreply at wordpress.org
Fri Jul 15 21:05:44 UTC 2022


#54394: Add functions for required fields indicator and message
---------------------------------------------+----------------------------
 Reporter:  sabernhardt                      |       Owner:  audrasjb
     Type:  feature request                  |      Status:  reviewing
 Priority:  normal                           |   Milestone:  6.1
Component:  General                          |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch required-fields early  |     Focuses:  accessibility
---------------------------------------------+----------------------------
Changes (by sabernhardt):

 * keywords:  has-patch required-fields dev-feedback => has-patch required-
     fields early


Old description:

> Required fields should include a visual indicator, plus a legend when
> using a star or similar character for multiple fields.
>
> Having a set of return and echo functions to create strings for both the
> indicator and a default explanation could help in some
> [https://core.trac.wordpress.org/query?status=!closed&keywords=~required-
> fields core implementations] such as #34860, as well as with plugins and
> themes ''(if their minimum WordPress version includes these functions)''.

New description:

 Required fields should include a visual indicator, plus a legend when
 using a star or similar character for multiple fields.

 Having a set of ~~return and echo~~ functions to create strings for both
 the indicator and a default explanation could help in some
 [https://core.trac.wordpress.org/query?status=!closed&keywords=~required-
 fields core implementations] such as #38460, as well as with plugins and
 themes ''(if their minimum WordPress version includes these functions)''.

--

Comment:

 In [https://wordpress.slack.com/archives/core/p1657831426151909
 yesterday's Slack discussion], @markjaquith recommended removing the
 parameters.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54394#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list