In this question, it is explained why salicylic acid is a stronger acid than benzoic acid. So, why acetylsalicylic acid (aspirin), whose conjugate base cannot hydrogen bond since there is no hydrogen, is still more acid than benzoic acid?
- aspirin: $\mathrm{p}K_\text{a}$ = 3.5
- benzoic acid: $\mathrm{p}K_\text{a}$ = 4.2
Acetoxyl is a moderate activating group for the aromatic electrophilic substitution, so it should mean that the resonance-driven electron-donating effect prevails over the inductive electron-withdrawing effect, therefore it should raise the $\mathrm{p}K_\text{a}$ of the acid.
Is it different between electrophilic substitution reactivity and acidity? Does the inductive effect prevail in this case?