[wp-trac] [WordPress Trac] #36638: Detect broken URLs in the editor

WordPress Trac noreply at wordpress.org
Wed Jul 20 07:53:37 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):

 Quickly tested [attachment:36638.7.patch] especially the `wp.a11y.speak()`
 part. See screenshot below, using a small personal dev plugin to log
 messages in the console:

 [[Image(https://cldup.com/kjEax8A8H0.png)]]

 Technically everything works nicely but I'd recommend a few improvements.
 - use the `assertive` parameter: since it's an error, it makes sense to
 force screen readers to announce this message as soon as possible
 - when there is an error, the following message "Link inserted." should
 not be dispatched: testing with VoiceOver, it gets confused and announces
 just the last message (no error announced at all)

 > It "speaks" the URL but still a bit unsure if this won't be confusing
 for screen readers.
 maybe there's no need to use the URL in the message: users just entered
 that URL, they know what they typed. Yes, they could have typed
 incorrectly but maybe they need just to be informed the link destination
 is not reachable and asked to check the link?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36638#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list