[wp-trac] [WordPress Trac] #54050: block editors italic icon inserts <em> tag instead of <i>
WordPress Trac
noreply at wordpress.org
Fri Sep 10 15:41:26 UTC 2021
#54050: block editors italic icon inserts <em> tag instead of <i>
-------------------------------------------+------------------------------
Reporter: inigo | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion reporter-feedback | Focuses: accessibility
-------------------------------------------+------------------------------
Changes (by joedolson):
* keywords: 2nd-opinion => 2nd-opinion reporter-feedback
Comment:
What is the service or tool that's flagging the use of strong and em as an
error? In my opinion, while there are absolutely cases where `<i>` is more
appropriate than `<em>`, it's not a simple "em is always wrong" decision.
If you absolutely must have this fixed for your auditors, I'd recommend
using a filter on `the_content` that just replaces those elements - but I
can't see this change as a benefit for most users.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54050#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list