WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #35483, comment 2


Ignore:
Timestamp:
01/19/2016 02:17:22 AM (4 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35483, comment 2

    v1 v2  
    1010> Would greatly appreciate feedback about the best way to escape and clean up from Emojis the string to use as aria-label.
    1111
    12 To escape we only need to do `$( element ).text()`. Not sure about removing emoji and other special chars from the post titles. They are in the titles in the list-table and will be in the titles on the front-end.
     12To escape we only need to do `$( element ).text()`. Not sure about removing emoji and other special chars from the post titles. They are in the titles in the list-table and will be in the titles on the front-end. Perhaps we should wrap the copied post titles in spans with auto-generated IDs and use `aria-labelledby`?