[wp-trac] [WordPress Trac] #30076: Twenty Fifteen: Alt text of a thumbnail in archives can lead to confusing link texts

WordPress Trac noreply at wordpress.org
Wed Oct 29 16:14:45 UTC 2014


#30076: Twenty Fifteen: Alt text of a thumbnail in archives can lead to confusing
link texts
-------------------------------------+----------------------------
 Reporter:  rianrietveld             |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  4.1
Component:  Bundled Theme            |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  accessibility
-------------------------------------+----------------------------

Comment (by afercia):

 hi @joedolson, maybe we should reconsider the `aria-hidden` solution: I
 liked at first :) but my understanding is that it depends on browser +
 screen reader combination, the thumbnail link may still be focusable and
 announced as "blank". Tested with Firefox + NVDA, it's still in the tab
 order, focusable and "blank".

 http://www.w3.org/TR/aria-in-html/#fourth
 Do not use role="presentation" or aria-hidden="true" on a visible
 focusable element.
 Using either of these on a ''visible'' '''focusable''' element will result
 in some users focusing on 'nothing'.

 http://www.paciellogroup.com/blog/2012/05/html5-accessibility-chops-
 hidden-and-aria-hidden/
 ...
 In some browsers (aria-hidden content) it's not included in the
 accessibility tree in other browsers it is included in the accessibility
 tree.
 - For browser that include aria-hidden content in the accessibility tree
 focusable content '''is''' included in tab order and is navigable and
 operable for AT users (as well as other users).

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


More information about the wp-trac mailing list