Looks like you've accidentally enabled VoiceOver which is an accessibility feature. You can switch this off by going to System Preferences > Accessibility > VoiceOver and unticking the box to enable it.
The keyboard shortcut for this is cmd+F5 on the keyboard.