[wp-trac] [WordPress Trac] #63620: Remove translator comments when hidden text matches visible text
WordPress Trac
noreply at wordpress.org
Tue Aug 12 15:39:31 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 | Resolution:
Keywords: has-patch changes-requested 2nd- | Focuses:
opinion | accessibility
-------------------------------------------------+-------------------------
Comment (by joedolson):
I think this would be a good change; I don't think there's a value to
having these duplicated strings be separate literals in the code.
@swissspidy do you have an opinion on this? At this point, this is more
about keeping the code DRYer and removing risk of mismatch between screen
reader text and visible text when those two should be duplicates. It won't
have any impact on translators, I think.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63620#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list