You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Render emphases and strong emphases as <i> and <b> respectively.
Rationale
The CommonMark repository has a discussion of the issue raised by this proposal. In short: current <em> and <strong> include fewer use cases than <i> and <b>.
And a reasonably accessibility-conscious writer would have to rely on <i> and <b> a lot more than <em> and <strong> in everyday text. Which takes longer to type, especially for non-English speakers, for comparison: <i>произвольный</i> vs. *произвольный* (three different special characters vs. one, one switch to Latin vs. zero).
Of course, the problem may seem insignificant, but in the real world, this is what discourages the practice of valid use of elements in many cases, which in turn harms: incorrect elements for italic and bold (what authors are most likely to see under these types of emphases) encourages screen readers don't speak the difference from surrounding text for <em> and <strong>.
Also, more accessible use of proper elements may be important for those who use style for <em> and <strong> other than italic and bold, and it is important for them to mark this distinction for readers.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Sentence
html.WithPresentationalElements
-
<i>
and<b>
respectively.Rationale
The CommonMark repository has a discussion of the issue raised by this proposal. In short: current
<em>
and<strong>
include fewer use cases than<i>
and<b>
.And a reasonably accessibility-conscious writer would have to rely on
<i>
and<b>
a lot more than<em>
and<strong>
in everyday text. Which takes longer to type, especially for non-English speakers, for comparison:<i>произвольный</i>
vs.*произвольный*
(three different special characters vs. one, one switch to Latin vs. zero).Of course, the problem may seem insignificant, but in the real world, this is what discourages the practice of valid use of elements in many cases, which in turn harms: incorrect elements for italic and bold (what authors are most likely to see under these types of emphases) encourages screen readers don't speak the difference from surrounding text for
<em>
and<strong>
.Also, more accessible use of proper elements may be important for those who use style for
<em>
and<strong>
other than italic and bold, and it is important for them to mark this distinction for readers.Beta Was this translation helpful? Give feedback.
All reactions