Skip to content

Commit

Permalink
Close issue #137
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Bertuccelli committed Dec 13, 2022
1 parent 7339f3d commit edd0209
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integrations/wave/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function wave_alerts($response_body, $page_url){
}else{
$appended_text = '';
}
$alert['message'] = $wave_item['description'].$appended_text.' - <a href="https://wave.webaim.org/report#/'.$page_url.'" target="_blank">WAVE Report</a>';
$alert['message'] = $wave_item['description'].$appended_text.' - <a href="https://wave.webaim.org/report#/'.$page_url.'" target="_blank">WAVE Report <span class="screen-reader-only">(opens in a new tab)</span></a>';

// Push alert.
$wave_alerts[] = $alert;
Expand Down
9 changes: 8 additions & 1 deletion theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,11 @@ pre code{
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
}
.screen-reader-only {
position: absolute;
width: 1px;
clip: rect(0 0 0 0);
overflow: hidden;
white-space: nowrap;
}

0 comments on commit edd0209

Please sign in to comment.