diff --git a/classes/helpers/FrmAddonsHelper.php b/classes/helpers/FrmAddonsHelper.php index dbc48dccec..d4744d26bd 100644 --- a/classes/helpers/FrmAddonsHelper.php +++ b/classes/helpers/FrmAddonsHelper.php @@ -334,12 +334,15 @@ public static function show_five_star_rating( $color = 'black' ) { * * @since 6.17 * + * @param string $alt Accessible name for the icon. Leave blank when adjacent text already + * describes the guarantee, so the icon stays decorative. + * * @return void */ - public static function guarantee_icon() { + public static function guarantee_icon( $alt = '' ) { // phpcs:disable Generic.WhiteSpace.ScopeIndent ?> - + <?php echo esc_attr( $alt ); ?>
- +