Adding the following snippet into your theme’s functions.php file will let you remove CSS selector attributes from WP-nav menu in WordPress.

Snippet Source/Credit: WP-Snippets.com