@@ -80,63 +80,63 @@ public function add_deactivation_modal(): void {
8080
8181 <div class="ea11y-feedback-options">
8282 <div class="ea11y-feedback-option">
83- <label for="reason_no_longer_needed" >
84- <input type="radio" name="ea11y_deactivation_reason" value="no_longer_needed" id="reason_no_longer_needed ">
83+ <label>
84+ <input type="radio" name="ea11y_deactivation_reason" value="no_longer_needed" id="ea11y_reason_no_longer_needed ">
8585 <?php esc_html_e ( 'I no longer need this plugin ' , 'pojo-accessibility ' ); ?>
8686 </label>
8787 </div>
8888
8989 <div class="ea11y-feedback-option">
90- <label for="reason_too_expensive" >
91- <input type="radio" name="ea11y_deactivation_reason" value="too_expensive" id="reason_too_expensive ">
90+ <label>
91+ <input type="radio" name="ea11y_deactivation_reason" value="too_expensive" id="ea11y_reason_too_expensive ">
9292 <?php esc_html_e ( 'It \'s too expensive ' , 'pojo-accessibility ' ); ?>
9393 </label>
9494 </div>
9595
9696 <div class="ea11y-feedback-option">
97- <label for="reason_no_results" >
98- <input type="radio" name="ea11y_deactivation_reason" value="no_results" id="reason_no_results ">
97+ <label>
98+ <input type="radio" name="ea11y_deactivation_reason" value="no_results" id="ea11y_reason_no_results ">
9999 <?php esc_html_e ( 'The plugin didn \'t provide the results I was hoping for ' , 'pojo-accessibility ' ); ?>
100100 </label>
101101 </div>
102102
103103 <div class="ea11y-feedback-option">
104- <label for="reason_unclear" >
105- <input type="radio" name="ea11y_deactivation_reason" value="unclear_how_to_use" id="reason_unclear ">
104+ <label>
105+ <input type="radio" name="ea11y_deactivation_reason" value="unclear_how_to_use" id="ea11y_reason_unclear ">
106106 <?php esc_html_e ( 'I wasn \'t sure how to use the plugin ' , 'pojo-accessibility ' ); ?>
107107 </label>
108- <div class="ea11y-feedback-text-field" id="text_field_unclear " style="display: none;">
109- <label for="unclear_details "><?php esc_html_e ( 'Optional: Was anything unclear or confusing? ' , 'pojo-accessibility ' ); ?> </label>
110- <textarea id="unclear_details " name="unclear_details " rows="3" placeholder="<?php esc_attr_e ( 'Please share details... ' , 'pojo-accessibility ' ); ?> "></textarea>
108+ <div class="ea11y-feedback-text-field" id="ea11y_text_field_unclear " style="display: none;">
109+ <label for="ea11y_unclear_details "><?php esc_html_e ( 'Optional: Was anything unclear or confusing? ' , 'pojo-accessibility ' ); ?> </label>
110+ <textarea id="ea11y_unclear_details " name="ea11y_unclear_details " rows="3" placeholder="<?php esc_attr_e ( 'Please share details... ' , 'pojo-accessibility ' ); ?> "></textarea>
111111 </div>
112112 </div>
113113
114114 <div class="ea11y-feedback-option">
115- <label for="reason_technical" >
116- <input type="radio" name="ea11y_deactivation_reason" value="technical_issues" id="reason_technical ">
115+ <label>
116+ <input type="radio" name="ea11y_deactivation_reason" value="technical_issues" id="ea11y_reason_technical ">
117117 <?php esc_html_e ( 'I had technical issues or conflicts with my site ' , 'pojo-accessibility ' ); ?>
118118 </label>
119119 </div>
120120
121121 <div class="ea11y-feedback-option">
122- <label for="reason_switched" >
123- <input type="radio" name="ea11y_deactivation_reason" value="switched_solution" id="reason_switched ">
122+ <label>
123+ <input type="radio" name="ea11y_deactivation_reason" value="switched_solution" id="ea11y_reason_switched ">
124124 <?php esc_html_e ( 'I switched to a different solution ' , 'pojo-accessibility ' ); ?>
125125 </label>
126- <div class="ea11y-feedback-text-field" id="text_field_switched " style="display: none;">
127- <label for="switched_details "><?php esc_html_e ( 'Optional: Please share which solution: ' , 'pojo-accessibility ' ); ?> </label>
128- <input type="text" id="switched_details " name="switched_details " placeholder="<?php esc_attr_e ( 'Solution name... ' , 'pojo-accessibility ' ); ?> ">
126+ <div class="ea11y-feedback-text-field" id="ea11y_text_field_switched " style="display: none;">
127+ <label for="ea11y_switched_details "><?php esc_html_e ( 'Optional: Please share which solution: ' , 'pojo-accessibility ' ); ?> </label>
128+ <input type="text" id="ea11y_switched_details " name="ea11y_switched_details " placeholder="<?php esc_attr_e ( 'Solution name... ' , 'pojo-accessibility ' ); ?> ">
129129 </div>
130130 </div>
131131
132132 <div class="ea11y-feedback-option">
133- <label for="reason_other" >
134- <input type="radio" name="ea11y_deactivation_reason" value="other" id="reason_other ">
133+ <label>
134+ <input type="radio" name="ea11y_deactivation_reason" value="other" id="ea11y_reason_other ">
135135 <?php esc_html_e ( 'Other ' , 'pojo-accessibility ' ); ?>
136136 </label>
137- <div class="ea11y-feedback-text-field" id="text_field_other " style="display: none;">
138- <label for="other_details "><?php esc_html_e ( 'Optional: Please share the reason: ' , 'pojo-accessibility ' ); ?> </label>
139- <textarea id="other_details " name="other_details " rows="3" placeholder="<?php esc_attr_e ( 'Please explain... ' , 'pojo-accessibility ' ); ?> "></textarea>
137+ <div class="ea11y-feedback-text-field" id="ea11y_text_field_other " style="display: none;">
138+ <label for="ea11y_other_details "><?php esc_html_e ( 'Optional: Please share the reason: ' , 'pojo-accessibility ' ); ?> </label>
139+ <textarea id="ea11y_other_details " name="ea11y_other_details " rows="3" placeholder="<?php esc_attr_e ( 'Please explain... ' , 'pojo-accessibility ' ); ?> "></textarea>
140140 </div>
141141 </div>
142142 </div>
0 commit comments