Before you jump up to a newer Mac OS version, and assuming everything else is okay and working fine, have you considered using Google Chrome or Firefox, or maybe even others.
You didn't say which Mac OS version she is currently using, but there are probably several choices available to her and you can check out all the other specs at their site as well for specific model you are using:
Apple iMac Specs (All iMac Tech Specs): EveryMac.com
Tech specs for all Apple iMac models from the original to the current. Dates sold, processor type, memory info, hard drive details, prices and more.
Using this 2014 iMac model as a typical 2014 example, they say:
iMac "Core i5" 1.4 21.5" (Mid-2014) Specs (Mid-2014, MF883LL/A, iMac14,4, A1418, 2805): EveryMac.com
Technical specifications for the iMac "Core i5" 1.4 21.5" (Mid-2014). Dates sold, processor type, memory info, hard drive details, price and more.
You need to be aware of possible Hardware conflicts such as printer support and other compatibility software issues when upgrading to a later Mac OS version, as well as all other peripherals she may currently use.
- Patrick
=======