Make WordPress Core

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


Ignore:
Timestamp:
01/19/2016 02:23:28 AM (8 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35483, comment 2

    v2 v3  
    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. Perhaps we should wrap the copied post titles in spans with auto-generated IDs and use `aria-labelledby`?
     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`? Then a "row" in the Bulk Edit list would look like:
     13
     14{{{
     15<li><button aria-labelledby="bulk-edit-1">Remove (hidden offscreen)</button><span id="bulk-edit-1">Copied post title</span></li>
     16}}}