# Why Coloured parts of questions are removed?

Out of curiosity, after I learnt the use of mathjax if I thought necessary (obviously may be not for others) I use the $$\color{red}{colour }$$ code to mark any point of my question, but some users suggest edits or reputed users usually remove it by editing it!

I am not sure why this happens? Is it a regulation? Or is it mandatory to not do such things for asking a good question?

• Can you show an example? I suppose it could make the code of your question harder to read Dec 7 '20 at 6:31
• @calvin khor like I mentioned, hope this is it Dec 7 '20 at 6:35
• I think it could be a number of things depending on the person editing. 1 is, its written in math mode, so the letters are written as if it means $c\times o \times l \times\dots$. So maybe \color{red}{\text{colour}}$\color{red}{\text{colour}}$. 2, it has been suggested (somewhere...) that MathJax should not be used for emphasis/formatting text, and instead you should use the Markdown formatting like you did for I thought. Dec 7 '20 at 6:41
• 3, If you only marked one word like "$\color{red}{\text{Question:}}$ how do I use this theorem?", maybe its not so bad, but I would definitely edit an entire paragraph written like this. Without an example post, I don't know if you did this, but there it is. Somewhat parallel to this is, if your question is simple enough, then there's no need to make it complicated with this kind of MathJax code. I think its fair to say that its not a regulation though. One point in favour, I think the MathJax implementation is actually more stable than the Markdown, seeing how quotes >... have changed Dec 7 '20 at 6:44
• As far as I can tell, MathJax is intended to typeset math. Using MathJax to get color (or different font) in a normal text (which is not part of some math formula) could be considered problematic. See also the discussion in the comments here: How to color a sentence? Dec 7 '20 at 8:25
• BTW I only see two questions you posted on the main site. And neither of them uses color: math.stackexchange.com/posts/3857757/revisions math.stackexchange.com/posts/3895231/revisions Dec 7 '20 at 8:33
• @MartinSleziak I did check that as well (as well as the edits on those questions). I assume OP has more than one account, some deleted questions, or is asking for a friend. Dec 7 '20 at 8:43
• Dec 7 '20 at 9:10
• @calvin khor I posted it in my physicis account. Dec 7 '20 at 10:21
• It would have been nice if you posted the link. Firstly, you are posting in the Mathematics Meta. This should be a concern for the Physics Meta. Secondly, I guess here is the question; I think your question is so short that there is no reason to make YouTube stand out, i.e. I think this falls under the above considerations. Also you put the colour in $\color{red}{\text{the title}}$ as well. (both body and title colours were edited out separately) IMO there is no reason to do that and I would also edit it out on Math.SE Dec 7 '20 at 10:29
• @MartinSleziak Interesting. I, for one, routinely use MathJax to insert, say, italics into normal text. Is there another, preferred, way to achieve that?
– lulu
Dec 7 '20 at 15:12
• @lulu As far as I can tell, Markdown is the preferred way to get italics. See editing help. For italics, you can use _underscore_ underscore or *asterisk* asterisk. (You can also add them by clicking on the corresponding button in the standard editor on Stack Exchange.) Dec 7 '20 at 16:29

The main reason to avoid using MathJax for color decoration of text is to improve accessibility on the site.

Color blindness affects about 8% of males and 0.5% of females. This is presumably not uppermost in your thoughts as you apply color-for-emphasis, but user interface designers put effort into choices that maximize legibility for the Community as a whole.

Therefore Markdown is preferred to give italic and bold text quite easily and without shortchanging those for whom color does not achieve that purpose.

• Not to mention interaction with screen readers for people who can't see the screen at all.
– Asaf Karagila Mod
Dec 9 '20 at 18:40
• Yep. I felt like I needed to do a bit of research on screen readers before adding that explanation. Dec 9 '20 at 18:44
• Not a compelling argument given that there are tools to help visually challenged readers, including one explicitly designed for this purpose by a a MathJax develioper. Dec 20 '20 at 16:07