Erase MacBook hard drive without the use of the mouse I want to sell my Early 2015 MacBook Pro Retina.

It has an unknown issue where the mouse input isn't working properly and I can't click (when using either the trackpad or a USB mouse).

I have got to the Disk Utility page but I can't click the 'Erase' button to finish the job and there seems to be no way to do this with the keyboard.

Is there a way I can erase the hard drive without using the mouse? I can access the Terminal when I login.
You can use a Keyboard combination to erase your Macbook with VoiceOver's accessibility feature. 


First, reboot your computer and be in Recovery mode with the combination of ⌘+R. 
At the recovery welcome screen, press ⌘+F5 keys (or ⌘+fn+F5, if you're on an Apple laptop) to enable VoiceOver's accessibility features.
On the macOS Utilities selection screen, use the arrow keys to highlight Disk Utility, press the Tab button to highlight the Continue button and press ⌃+⌥+Space as instructed by the voice-over display screen.
Use ⇥ (tab) if needed to be on your Macintosh HD-Data. Once you follow the voice control option, you can be on Erase option, and press ⌃+⌥+Space
Voila !! it is done without any mouse too.