Skip to content

Commit a3b6ccf

Browse files
committed
Fix typo sr-only in the phpdoc
1 parent 6faa263 commit a3b6ccf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

inc/Helpers/Formatting/Link.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* @type string $before Optional. Markup to prepend to the image. Default empty.
2525
* @type string $after Optional. Markup to append to the image. Default empty.
2626
* @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
2828
* }
2929
*
3030
* @return string Return the markup of the link
@@ -80,7 +80,7 @@ function get_acf_link( array $attributes, array $settings = [] ): string {
8080
* @type string $before Optional. Markup to prepend to the image. Default empty.
8181
* @type string $after Optional. Markup to append to the image. Default empty.
8282
* @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
8484
* }
8585
*
8686
* @return void Echo of the link markup
@@ -110,7 +110,7 @@ function the_acf_link( array $attributes, array $settings = [] ): void {
110110
* @type string $before Optional. Markup to prepend to the image. Default empty.
111111
* @type string $after Optional. Markup to append to the image. Default empty.
112112
* @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
114114
*
115115
* }
116116
*
@@ -204,7 +204,7 @@ function get_the_link( array $attributes, array $settings = [] ): string {
204204
* @type string $before Optional. Markup to prepend to the image. Default empty.
205205
* @type string $after Optional. Markup to append to the image. Default empty.
206206
* @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
208208
* }
209209
*
210210
*

0 commit comments

Comments
 (0)