[wp-trac] [WordPress Trac] #30152: Twenty Fifteen: archive pagination links accessibility

WordPress Trac noreply at wordpress.org
Thu Dec 11 01:26:13 UTC 2014


#30152: Twenty Fifteen: archive pagination links accessibility
------------------------------+--------------------------------
 Reporter:  afercia           |       Owner:  iandstewart
     Type:  enhancement       |      Status:  reopened
 Priority:  normal            |   Milestone:  4.1
Component:  Bundled Theme     |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  ui, accessibility
------------------------------+--------------------------------
Changes (by SergeyBiryukov):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Replying to [comment:2 afercia]:
 > Small change also for the Next/Previous post navigation, to make screen
 readers read out:
 > - "Previous post (pause) {title}"
 > - "Next post (pause) {title}"
 > Strings are a bit long now and with a lot of HTML exposed to
 translators... improvements and updated patch welcome.

 The problem is that we're trying to merge two different strings here, a
 standalone "Next" and "Next post". Some languages would want to translate
 the "Next" differently in each case (e.g. Next/Previous becomes
 Forward/Back).

 [attachment:30152.6.patch] is an attempt to clean things up a bit:

 * Uses the existing Next/Previous strings from the slider.
 * Adds context for the 'post:' string, so that a reworded 'next' or
 'previous' could be added in the translation.
 * Removes extra HTML from the strings.
 * Should be read out the same way it does now.
 * Should work with RTL, as it does not affect text direction.

 [attachment:30152.7.patch] is another iteration which keeps the
 placeholders just in case.

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


More information about the wp-trac mailing list