Changeset 52033 – WordPress Trac (original) (raw)
Timestamp:
11/08/2021 12:21:50 AM (4 years ago)
antpb
Message:
Media: Adjust alt text info link text.
Previous messaging of this link was confusing given it went to an external source. This change describes more accurately that it will perform the action of taking you to the resource.
Props karmatosed, joedolson, melchoyce, hellofromTonya, afercia, sabernhardt, antpb.
Fixes #48939.
Location:
Files:
Legend:
Unmodified
Added
Removed
| r51957 | r52033 | |
|---|---|---|
| 3229 | 3229 | printf( |
| 3230 | 3230 | /* translators: 1: Link to tutorial, 2: Additional link attributes, 3: Accessibility text. */ |
| 3231 | __( '<a href="%1$s" %2$s> |
|
| 3231 | __( '<a href="%1$s" %2$s>Learn how to describe the purpose of the image%3$s. Leave empty if the image is purely decorative.' ), | |
| 3232 | 3232 | esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ), |
| 3233 | 3233 | 'target="_blank" rel="noopener"', |
| r51542 | r52033 | |
|---|---|---|
| 159 | 159 | $alt_text_description = sprintf( |
| 160 | 160 | /* translators: 1: Link to tutorial, 2: Additional link attributes, 3: Accessibility text. */ |
| 161 | __( '<a href="%1$s" %2$s> |
|
| 161 | __( '<a href="%1$s" %2$s>Learn how to describe the purpose of the image%3$s. Leave empty if the image is purely decorative.' ), | |
| 162 | 162 | esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ), |
| 163 | 163 | 'target="_blank" rel="noopener"', |
Note: See TracChangeset for help on using the changeset viewer.