[wp-trac] [WordPress Trac] #21995: (get/the)_archive_title and (get/the)_archive_description functions

WordPress Trac noreply at wordpress.org
Thu Nov 6 16:42:48 UTC 2014


#21995: (get/the)_archive_title and (get/the)_archive_description functions
---------------------------------------------+--------------------------
 Reporter:  thomask                          |       Owner:  johnbillion
     Type:  feature request                  |      Status:  reopened
 Priority:  normal                           |   Milestone:  4.1
Component:  Themes                           |     Version:  trunk
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch twenty-fifteen commit  |     Focuses:  template
---------------------------------------------+--------------------------

Comment (by afercia):

 Replying to [comment:45 Frank Klein]:
 > > Moreover, please don't think just in English. Other languages may need
 to change the titles and provide more context; trying to handle this with
 the translation sometimes is not enough.
 >
 > The current code already handles context via the `_x()` function. I
 think we should leave it up to the translators to see whether they can
 make this work for their language or not. We can always reopen when that
 need arises, which I doubt.
 >
 > > read out of context, they don't give enough information about the
 page. Is this a single post title? Is this a generic list? Is a
 chronological archive? Please don't think just visually.
 >
 > Considering that this code comes from Underscores, an open source
 project that gets reviewed regularly by contributors with accessibility
 experience, I don't think this is a problem.
 hi Frank, just to clarify: with "context" I was not referring to
 translation tools like the various x(). When speaking about accessibility
 we often use the word "context" referring to the information conveyed by
 elements in relation to the "surrounding" information. Every link,
 heading, etc. should convey a clear information even when read out of
 context.
 For example, Assistive Technologies provide tools to extrapolate from a
 page list of links, list of headings, landmarks, etc. Information conveyed
 by such elements should be clear even when read in such lists. More or
 less, it's the same, well known, long debated, issue of the "click here"
 link. To give you an idea, see in the screenshot below what NVDA can offer
 extrapolating information from a page. Screenshot refers to the "Audio"
 archive in Twenty Fifteen.

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

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


More information about the wp-trac mailing list