[wp-trac] [WordPress Trac] #63620: Remove translator comments when hidden text matches visible text
WordPress Trac
noreply at wordpress.org
Wed Jun 25 11:12:25 UTC 2025
#63620: Remove translator comments when hidden text matches visible text
---------------------------+-----------------------------
Reporter: sabernhardt | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version: 6.2
Severity: normal | Keywords:
Focuses: accessibility |
---------------------------+-----------------------------
#29748 added translator comments for hidden accessibility text. However,
text in a hidden fieldset `legend` often matches the visible text
immediately before it (in a `th` cell or a heading).
I think the 'Hidden accessibility text' comment should be removed from:
- all of the hidden legends in `options-discussion.php`, `options-
general.php`, `options-media.php`, `options-permalink.php`, `options-
reading.php`, and `options-writing.php`
- the legend for site or search engine visibility in `install.php`
- all five hidden legends in `includes/class-custom-background.php`
- most—but not all—hidden legends in `includes/meta-boxes.php` ('Target'
and the XFN option groups for the old Links Manager)
- 'Administration Color Scheme' in `includes/misc.php` because it has the
same text visible in `user-edit.php`
- 'Enable menus' in `network/settings.php`, **if** it changes to match the
visible 'Enable administration menus' text
- none of the legends in `edit-form-comment.php`, `export.php` or `network
/site-info.php`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63620>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list