[wp-trac] [WordPress Trac] #12056: target="_blank" being stripped from Profile Bio and Category Description
WordPress Trac
noreply at wordpress.org
Tue Jan 7 15:13:22 UTC 2025
#12056: target="_blank" being stripped from Profile Bio and Category Description
-------------------------------------------------+-------------------------
Reporter: lovewpmu | Owner: audrasjb
Type: enhancement | Status: accepted
Priority: normal | Milestone: 6.8
Component: Formatting | Version: 2.9.2
Severity: normal | Resolution:
Keywords: gsoc kses has-patch needs-testing- | Focuses:
info has-unit-tests has-screenshots |
-------------------------------------------------+-------------------------
Changes (by joedolson):
* focuses: accessibility =>
Comment:
Overall, I'd prefer not to allow `target=_blank` any more than absolutely
necessary; it mostly introduced accessibility problems. However, when it
comes to content creation, the reality is that we have no way of knowing
how that content will be used - it's hypothetically possible it could be
in a context where opening in a new tab is important.
I don't see any particularly good reason to change this, but I don't have
a particularly good reason to block it on the accessibility front, either.
Removing the accessibility focus, as this doesn't impact the accessibility
of anything produced directly in WordPress, only the user's content
output.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12056#comment:45>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list