[wp-trac] [WordPress Trac] #33902: Accessible Tags auto-complete

WordPress Trac noreply at wordpress.org
Fri Oct 14 20:01:56 UTC 2016


#33902: Accessible Tags auto-complete
------------------------------+--------------------------------------------
 Reporter:  afercia           |       Owner:  azaozz
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  4.7
Component:  Administration    |     Version:  4.3
 Severity:  normal            |  Resolution:
 Keywords:  has-patch needs-  |     Focuses:  ui, accessibility, javascript
  testing                     |
------------------------------+--------------------------------------------

Comment (by azaozz):

 Replying to [comment:33 afercia]:

 Right. Thinking we should add this so it is easier to test and
 improve/fix. When testing it would be good to have a custom taxonomy that
 is shown in the UI. To do that need to paste this temporarily in a plugin
 somewhere:

 {{{
 add_action( 'init', '_my_add_custom_taxonomy', 1 );
 function _my_add_custom_taxonomy() {
         register_taxonomy( 'my_custom_tags', 'post', array(
                 'hierarchical' => false,
                 'labels' => array(
                         'name' => __( 'Custom tags' ),
                         'singular_name' => __( 'Custom tags' ),
                 ),
                 'query_var' => 'tag',
                 'rewrite' => false,
                 'public' => true,
                 'show_ui' => true,
                 'show_admin_column' => true,
                 'capabilities' => array(
                         'manage_terms' => 'manage_post_tags',
                         'edit_terms'   => 'edit_post_tags',
                         'delete_terms' => 'delete_post_tags',
                         'assign_terms' => 'assign_post_tags',
                 ),
         ) );
 }
 }}}

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


More information about the wp-trac mailing list