Yes, Welsh uses several diacritics to modify pronunciation and emphasis.
Here the accent is used to indicate that the syllable with the a, the final one, is the one emphasised instead of the usual last but one syllable.
The character á is usually very easy to type with standard keyboard modifier keys - check on the web for how to do it on your system. For example, on macOS with the Welsh keyboard layout chosen it is 'alt-7, a'. On iOS, just keep any letter pressed down for a second to see a menu of its accented versions.