[wp-trac] [WordPress Trac] #38606: Accessibility: required fields in login/register/password-reset forms
WordPress Trac
noreply at wordpress.org
Fri Jun 9 16:16:19 UTC 2017
#38606: Accessibility: required fields in login/register/password-reset forms
---------------------------------------+-----------------------------
Reporter: ramiy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Login and Registration | Version:
Severity: normal | Resolution:
Keywords: required-fields has-patch | Focuses: accessibility
---------------------------------------+-----------------------------
Comment (by Cheffheid):
Out of curiosity, why `aria-required` and not the HTML5 `required`
attribute? (Or both, if support is a concern, though with 4.8 dropping
IE10 and older I think we should be safe).
I think I'd personally prefer using the `required` attribute because it
comes with the benefits of `aria-required` and also has a client-side
validation component. That is to say, a browser won't even submit the form
if required fields are left empty.
And finally, I think the aim for this ticket is at least partially the
same as #32510 - it may be worth consolidating the two (cc @afercia)?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38606#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list