[wp-trac] [WordPress Trac] #29808: Post/paging navigation template tags

WordPress Trac noreply at wordpress.org
Wed Oct 29 12:00:30 UTC 2014


#29808: Post/paging navigation template tags
---------------------------------------------+--------------------------
 Reporter:  obenland                         |       Owner:  johnbillion
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  4.1
Component:  Themes                           |     Version:  trunk
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  twenty-fifteen has-patch commit  |     Focuses:  template
---------------------------------------------+--------------------------

Comment (by GaryJ):

 Replying to [comment:4 Frank Klein]:
 > I would recommend that we remove the HTML and the hardcoded arrows from
 the code. If theme developers want arrows, they could use an icon font and
 CSS.

 I'd agree with this, since adding RTL support still means jumping through
 hoops and supplying alternative strings for the default args, if you want
 the arrows (which are only visual indicators of a perceptual direction
 anyway) reversed for RTL.

 How are the arrows read out in text-to-speech UAs, in terms of
 accessibility? Does it add anything that isn't already made clear from the
 words "previous" and "next"? If not, then that's another reason that the
 arrows should just be added via CSS, to match the theme styles, and not be
 part of the textual output.

 `get_the_pagination()` doesn't have a `meta-nav` span around the arrows
 either, so it's inconsistent with the other functions, and doesn't provide
 a way to visually hide the arrows.

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


More information about the wp-trac mailing list