title: Automatically append span to external links - target _blank
body: <p>I would like to automatically append a span to any link that has a target "_blank".  The purpose of this is for screen readers to read "(opens in a new tab)" but to visually be hidden with the "screen-reader-text" span.</p>
  
  <p><strong>Example link:</strong></p>
  
  <p><code>&lt;a href="https://google.com" target="_blank"&gt;Google&lt;/a&gt;</code></p>
  
  <p><strong>Example link after appended span:</strong></p>
  
  <p><code>&lt;a href="https://google.com" target="_blank"&gt;Google&lt;span class="screen-reader-text"&gt; (opens in new tab)&lt;/a&gt;</code></p>
  
  <p>So all the user would have to do (in WordPress) is create a link that opens in a new tab/window and the appended span would automatically be added to the link.</p>