Decision trees are generally prone to over-fitting and accuracy doesn't generalize well to unseen data. One advantage of information gain is that -- due to the factor $-p*log(p)$ in the entropy definition -- leafs with a small number of instances are assigned less weight ($lim_{p \rightarrow 0^{+} } p*log(p) = 0$) and it favors dividing data into bigger but homogeneous groups. This approach is usually more stable and also chooses the most impactful features close to the root of the tree.
EDIT: Accuracy is usually problematic with unbalanced data. Consider this toy example:
Weather Wind Outcome
Sunny Weak YES
Sunny Weak YES
Rainy Weak YES
Cloudy Medium YES
Rainy Medium NO
Rainy Strong NO
Rainy Strong NO
Rainy Strong NO
Rainy Strong NO
Rainy Strong NO
Rainy Strong NO
Rainy Strong NO
Rainy Strong NO
Rainy Strong NO
Rainy Strong NO
Rainy Strong NO
Rainy Strong NO
Weather and Wind both produce only one incorrect label hence have the same accuracy of 16/17. However, given this data, we would assume that weak winds (75% YES) are more predictive for a positive outcome than sunny weather (50% YES). That is, wind teaches us more about both outcomes. Since there are only few data points for positive outcomes we favor wind over weather, because wind is more predictive on the smaller label set which we would hope to give us a rule that is more robust to new data.
The entropy of the outcome is $ -4/17*log_2(4/17)-14/17*log_2(14/17)) =0.72$. The entropy for weather and outcome is $14/17*(-1/14*log_2(1/14)-13/14*log_2(13/14)) = 0.31$ which leads to an information gain of $0.41$. Similarly, wind gives a higher information gain of $0.6$.