[wp-trac] [WordPress Trac] #36638: Detect broken URLs in the editor
WordPress Trac
noreply at wordpress.org
Wed Jul 20 18:45:06 UTC 2016
#36638: Detect broken URLs in the editor
--------------------------------------------+-----------------------
Reporter: iseulde | Owner: azaozz
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 4.6
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: needs-unit-tests needs-testing | Focuses: ui
--------------------------------------------+-----------------------
Comment (by afercia):
The only things changed in [attachment:36638.8.patch] are the `assertive`
parameter for the URL check message and the message string. I'd propose to
simplify this message and try to describe what actually happened: the link
was inserted but the URL check returned an error. We can't guarantee the
link destination is really unreachable (could be temporarily unreachable
for example) so I'd say to change the "error" in a more relaxed "warning":
`Warning: the link has been inserted but the link destination cannot be
reached.`
The `assertive` parameter should guarantee that even if the "Link
inserted." message is dispatched before the URL check (and as far as I see
this can happen depending for example on the time required by the AJAX
response), anything that is being announced by screen readers int hat
moment will be interrupted by the warning.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36638#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list