[wp-trac] [WordPress Trac] #38061: Rename the Text tab on the editor

WordPress Trac noreply at wordpress.org
Wed Jan 15 15:24:53 UTC 2025


#38061: Rename the Text tab on the editor
--------------------------+-------------------------------------
 Reporter:  lukecavanagh  |       Owner:  (none)
     Type:  enhancement   |      Status:  assigned
 Priority:  normal        |   Milestone:  6.8
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  accessibility, ui-copy
--------------------------+-------------------------------------

Comment (by sabernhardt):

 Having two buttons named "Code" could lead to confusion, though the
 context might help (enough) with "toggle button pressed" on the tab button
 (using NVDA).

 If the proposed change is good, I found some more references:
 - [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/general-
 template.php?rev=59606&marks=3795#L3791 `wp_default_editor()` docblock]
 - [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/widgets
 /class-wp-widget-text.php?rev=59120&marks=560#L558 Pointer hint for
 pasting code in a Text widget]
 -
 [https://core.trac.wordpress.org/browser/trunk/src/js/_enqueues/wp/autosave.js?rev=50547&marks=562#L562
 inline comment in autosave script]
 -
 [https://core.trac.wordpress.org/browser/trunk/src/js/_enqueues/wp/editor/base.js?rev=59188&marks=25,65,841,1206,1249,1296#L24
 several lines in `editor/base.js`]

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


More information about the wp-trac mailing list