[wp-trac] [WordPress Trac] #51580: Application Passwords: Accessibility Improvements
WordPress Trac
noreply at wordpress.org
Fri Nov 6 21:47:04 UTC 2020
#51580: Application Passwords: Accessibility Improvements
------------------------------------+--------------------------------------
Reporter: georgestephanis | Owner: TimothyBlynJacobs
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.6
Component: Login and Registration | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: accessibility, rest-api
------------------------------------+--------------------------------------
Comment (by sabernhardt):
The profile page seems fine.
However, the previously committed patch (PR) had %1$s and %2$s for
placeholders in the auth-app.js script, and now it's missing the second.
So the input does not show after approval on the Authorize Application
page.
Is there a better way to write it than this?
{{{
message = wp.i18n.sprintf(
/* translators: %s: Application
name */
'<label for="new-application-
password-value">' + wp.i18n.__( 'Your new password for %s is:' ) +
'</label> <input id="new-application-password-value" type="text"
class="code" readonly="readonly" value="" />',
'<strong></strong>',
);
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51580#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list