[wp-trac] [WordPress Trac] #16206: Comment text not marked as required
WordPress Trac
noreply at wordpress.org
Thu Jan 21 16:59:07 UTC 2016
#16206: Comment text not marked as required
-------------------------------------------------+-------------------------
Reporter: infected | Owner:
Type: defect (bug) | rianrietveld
Priority: normal | Status: assigned
Component: Comments | Milestone: 4.5
Severity: normal | Version: 3.0.4
Keywords: has-patch 2nd-opinion has- | Resolution:
screenshots | Focuses: ui,
| accessibility
-------------------------------------------------+-------------------------
Changes (by afercia):
* keywords: has-patch 2nd-opinion => has-patch 2nd-opinion has-screenshots
Comment:
Thinking maybe it is possible to simplify a bit. Since now the Comment
textarea is always indicated as required, the "required text" should
always be printed out regardless of the `require_name_email` option (in
the backend is "Comment author must fill out name and email "). So when
logged in maybe just append the required text to the `logged_in_as`
string? See screenshot below:
[[Image(https://cldup.com/blLCdABxo0.png)]]
Additionally, the `required` attribute can use the HTML5 syntax depending
on the support for HTML5.
Lastly, I'd propose to change the error message for missing required
fields:
[[Image(https://cldup.com/TrUfPcoM-g.png)]]
since we shouldn't assume they're just "name" and "email".
Thoughts?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16206#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list