[wp-trac] [WordPress Trac] #32710: Customizer Menus: improve the "no results found" message
WordPress Trac
noreply at wordpress.org
Wed Jul 29 13:08:10 UTC 2015
#32710: Customizer Menus: improve the "no results found" message
--------------------------+-----------------------
Reporter: designsimply | Owner: helen
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.3
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui
--------------------------+-----------------------
Comment (by afercia):
Please consider the patch adds some HTML (paragraphs) to the
`data.message` that's used also for `wp.a11y.speak()` which in turn uses
jQuery `text()` so the HTML gets encoded and the final results is screen
readers will read out encoded HTML tags:
[[Image(https://cldup.com/4Ri-Bk-zzH.png)]]
The string inside the live region is actually:
{{{
<p>No results found.</p><p>You must create ... Links
section.</p>
}}}
and gets read out this way :)
> pee No results found. pee pee You must create ... pee
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32710#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list