HEX
Server: Apache
System: Linux webm003.cluster123.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User: vanessatli (59366)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/vanessatli/www/wp-content/plugins/wordpress-seo-premium-/premium/assets/js/src/helpPanel.js
/* jshint -W097 */

'use strict';

/**
 * Returns the HTML for a help button
 *
 * @param {string} text The text to put in the button.
 * @param {string} controls The HTML ID of the element this button controls.
 */
function helpButton( text, controls ) {
	return '<button type="button" class="yoast_help yoast-help-button dashicons" aria-expanded="false" aria-controls="' + controls + '"><span class="screen-reader-text">' + text + '</span></button>';
}

/**
 * Returns the HTML for a help button
 *
 * @param {string} text The text to put in the button.
 * @param {string} id The HTML ID to give this button.
 */
function helpText( text, id ) {
	return '<p id="' + id + '" class="yoast-help-panel">' + text + '</p>';
}

module.exports = {
	helpButton: helpButton,
	helpText: helpText
};