[wp-trac] [WordPress Trac] #38659: Twenty Seventeen: Fixes in SVG markup

WordPress Trac noreply at wordpress.org
Fri Nov 4 09:43:08 UTC 2016


#38659: Twenty Seventeen: Fixes in SVG markup
---------------------------+------------------------------
 Reporter:  sami.keijonen  |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  accessibility
---------------------------+------------------------------

Comment (by sami.keijonen):

 Now there is patch added. Summary of changes:

 - Remove aria-hidden argument. Let there be `aria-hidden="true"'` by
 default and set it empty when there is title and desc around.
 - Add unique IDs for title and desc for a11y example. Not sure if it's the
 best way.
 - Remove absolute path in the Customizer. It doesn't work in IE and the
 original bug is fixed in #30028.
 - Note that other solution is always use absolute path and
 [https://github.com/Keyamoon/ svgxusesvgxuse.js] for IE. From my
 undestanding this would help cache the SVG file.
 - Use whitespace around `<use>`. See #38387. Props @swissspidy.

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


More information about the wp-trac mailing list