How can I remove the screen reader text section from Jetpack social sharing buttons? I want to remove it on a PHP level instead of using CSS to hide it so that it won’t be on the source code of the page. I found that it is stored in $text variable in the file sharing-sources.php.
Also, I want to permanently change the title of the sharing buttons from “Click to share on Twitter” to just “Twitter”, Facebook, Pinterest, etc…
Can you please provide functions for these two things that I can paste in my functions.php file so that when the plugin gets updated the changes will stay.
Note: The reason for these two things is that I recently got a problem with a search engine that identifies these links as Keyword stuffing or something because the same words are repeated on all the sharing buttons. I know that it is a clear mistake from their end not being able to identify such texts. But just don’t want to take a chance.