|
24 | 24 | * @type string $before Optional. Markup to prepend to the image. Default empty. |
25 | 25 | * @type string $after Optional. Markup to append to the image. Default empty. |
26 | 26 | * @type array $escape Optional. An array where we specify as key the value we want to escape and as value the method to use. Example for the href ['escape' => ['href' => 'esc_url'] ] |
27 | | - * @type string $new_window Optional. Add <span class="sronly> for a11y |
| 27 | + * @type string $new_window Optional. Add <span class="sr-only> for a11y |
28 | 28 | * } |
29 | 29 | * |
30 | 30 | * @return string Return the markup of the link |
@@ -80,7 +80,7 @@ function get_acf_link( array $attributes, array $settings = [] ): string { |
80 | 80 | * @type string $before Optional. Markup to prepend to the image. Default empty. |
81 | 81 | * @type string $after Optional. Markup to append to the image. Default empty. |
82 | 82 | * @type array $escape Optional. An array where we specify as key the value we want to escape and as value the method to use. Example for the href ['escape' => ['href' => 'esc_url'] ] |
83 | | - * @type string $new_window Optional. Add <span class="sronly> for a11y |
| 83 | + * @type string $new_window Optional. Add <span class="sr-only> for a11y |
84 | 84 | * } |
85 | 85 | * |
86 | 86 | * @return void Echo of the link markup |
@@ -110,7 +110,7 @@ function the_acf_link( array $attributes, array $settings = [] ): void { |
110 | 110 | * @type string $before Optional. Markup to prepend to the image. Default empty. |
111 | 111 | * @type string $after Optional. Markup to append to the image. Default empty. |
112 | 112 | * @type array $escape Optional. An array where we specify as key the value we want to escape and as value the method to use. Example for the href ['escape' => ['href' => 'esc_url'] ] |
113 | | - * @type string $new_window Optional. Add <span class="sronly> for a11y |
| 113 | + * @type string $new_window Optional. Add <span class="sr-only> for a11y |
114 | 114 | * |
115 | 115 | * } |
116 | 116 | * |
@@ -204,7 +204,7 @@ function get_the_link( array $attributes, array $settings = [] ): string { |
204 | 204 | * @type string $before Optional. Markup to prepend to the image. Default empty. |
205 | 205 | * @type string $after Optional. Markup to append to the image. Default empty. |
206 | 206 | * @type array $escape Optional. An array where we specify as key the value we want to escape and as value the method to use. Example for the href ['escape' => ['href' => 'esc_url'] ] |
207 | | - * @type string $new_window Optional. Add <span class="sronly> for a11y |
| 207 | + * @type string $new_window Optional. Add <span class="sr-only> for a11y |
208 | 208 | * } |
209 | 209 | * |
210 | 210 | * |
|
0 commit comments