[wp-trac] [WordPress Trac] #29022: Screen reader text (and link title) isn't updated when plugin update count is updated
WordPress Trac
noreply at wordpress.org
Tue Aug 5 00:28:53 UTC 2014
#29022: Screen reader text (and link title) isn't updated when plugin update count
is updated
-------------------------+-------------------------------------------------
Reporter: pento | Owner:
Type: defect | Status: new
(bug) | Milestone: Awaiting Review
Priority: normal | Version: 3.9
Component: | Resolution:
Upgrade/Install | Focuses: accessibility, javascript,
Severity: minor | administration
Keywords: has-patch |
dev-feedback |
-------------------------+-------------------------------------------------
Comment (by adamsilverstein):
In [attachment:29022.5.diff]:
* roll count updates/screen reader text into loop
* change variable name from 'title' to 'screenReaderText' (we're removing
these titles eventually, right?)
* jshint corrections - remove unused variables, add /* global */ line for
localized variable
decrementCount funciton got removed as well, since its one line in the
loop; WordPress updates treated the same as the rest, except singular and
plural are the same, since there can't be a plural WordPress update count.
This is getting better, I'd love to remove all those parseInt's
necessitated by wp_localize_script's annoying conversion of ints to
strings. Hopefully, we can get #25280 in soon!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29022#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list