How to add x-webkit-speech to text areas and input fields

Hi, I want to enable clearer speech to text with the use of x-webkit-speech but I am unsure how to add this to textareas within Gravity Forms. Can someone help point me to the right place?!

x-webkit-speech is not allowed (as far as I know) for textareas. Please see the information I found here

That information is admittedly old. If it turns out browsers do now support that now, you could use this function in your theme functions.php file or a custom functionality plugin, to add that to your textareas:

add_filter( 'gform_field_content', 'gform_form_field_input_speech', 11, 5 ); 
function gform_form_field_input_speech( $input, $field, $value, $lead_id, $form_id ) {
	if ( is_admin() ) return $input;
	if ( GFFormsModel::is_html5_enabled() ) {
		$input = preg_replace( '/<textarea/', '${1} x-webkit-speech="x-webkit-speech" ', $input ); 
	return $input;

Please note that HTML5 output will need to be enabled on your Forms > Settings page.