[wp-trac] [WordPress Trac] #30685: Better Login Error&Message Displaying
WordPress Trac
noreply at wordpress.org
Thu Jun 30 06:48:36 UTC 2016
#30685: Better Login Error&Message Displaying
------------------------------------+--------------------------------
Reporter: extendwings | Owner: rianrietveld
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.6
Component: Login and Registration | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui, accessibility
------------------------------------+--------------------------------
Changes (by rianrietveld):
* milestone: Future Release => 4.6
Comment:
Discussed this ticket on the contributor day in WordCamp Europe last week
with @afercia @jipmoors and @webmandesign. And we came up with the
following:
'''CSS class notice''':
The designers in the discussion preferred the login_error block separated
from the notice-info.
Andrea prefers to use the "notice" CSS classes they should be used this
way: "notice notice-type".
'''aria-describedby''':
In the login screen: '''aria-describedby="login_error"''' will only be
added to the input fields when there are actually error messages.
To ensure the aria-describedby attribute is used only when there are
errors, the issue is everything here is technically a WP_Error but some of
them are just informative messages,
for example when:
?loggedout=true
?action=register
The only way we found is to check for the `error_data` associated to the
errors.
The aria-describedby should also be added for the registration screen, but
we will open a separate ticket for this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30685#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list