Skip to content

What is the thinking behind removing formatting of image alt texts? #298

Answered by jgm
rauschma asked this question in Q&A
Discussion options

You must be logged in to vote

HTML can't have formatting in the alt text, because it's in an attribute. But that's a parochial feature of HTML output. If we think of this feature as an 'image description', there's no reason to prevent it from having formatting, which might be used in other output formats. The formatting is stripped out in the HTML renderer.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rauschma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants