norlam
Forum Replies Created
-
Hi, Jan,
Not a Forum guideline violation, but a WordPress Accessibility guideline violation.
Sorry for the confusion.
Forum: Plugins
In reply to: [Participants Database] php 7.4All works as expected since the last update (v. 1.9.6.2).
Thanks a lot for your fix, Roland !
@mitch: maybe you can turn this topic to “Resolved”.
Forum: Plugins
In reply to: [Classic Editor] Unable to have an invisible non-breaking spaceIt’s a Copy & Paste effect.
Not a Classic Editor limitation or bug.
Sorry.
The
were always there as expected.The replacement by a normal space is a Copy & Paste effect.
Sorry.
- This reply was modified 5 years, 9 months ago by norlam.
Forum: Plugins
In reply to: [Participants Database] php 7.4Same problem.
A “Critical problem” warning is shown when I run Health Check & Troubleshooting.
The notification text says something like “An active PHP session was detected (…)
session_start()function needssession_write_close()for ending.” (Free translation. My original text is in French.)When I turn off Participant Database plugin, this warning not append. Since tunring off any other plugin as no effect.
Regards,
- This reply was modified 5 years, 9 months ago by norlam.
EDIT 1: Update line numbers for Jetpack 8.8.
EDIT 2: This is both a bug report and a fix.Hi,
To fill a form with a screen reader, each checkbox groups and each radio groups needs their own
<fieldset>and<legend>HTML tags.See https://webaim.org/techniques/forms/ for explanation and details.
Unfortunately, Jetpack Contact Form’s don’t do that.
To be valid, the
forcontent atribute must match anidcontent (not a ‘name’ one).Following modifications to grunion-contact-form.php file seems to fix validity and accessibility problems.
STEP 1
Go to line 3407 and replace the following code:
$field .= $this->render_label( '', $id, $label, $required, $required_field_text );by this one:
$field = "<fieldset>\n<legend>\n"; $field .= $this->render_label( '', $id, $label, $required, $required_field_text ); $field .= "</legend>\n";STEP 2
Go to line 3427 and replace the following code:
return $field;by this one:
$field .= "</fieldset>\n"; $field = preg_replace( '/for=\'[^\']+\'/i', '', $field ); /* RegEx to strip out non relevant for attribute */ return $field;STEP 3
Go to line 3442 and do the same as Step 1.
STEP 4
Go to line 3454 and do the same as Step 2.
STEP 5
Replace all cases of:
"required aria-required='true'"by:
"aria-required='true'"You will found 5.
STEP 6
Then, optionally, use the following CSS rule to override the fieldset styles:
.contact-form fieldset { border: none; padding: 0 !important; }Forum: Plugins
In reply to: [Participants Database] Accessibility issue when editing a recordHi Roland,
The last released provided (Version : 1.9.5.13) works as expected with screen readers.
Sure you don’t need confirmation about that. It’s just to say I’m happy.
Thanks a lot!
Regards,
Forum: Plugins
In reply to: [Participants Database] Images in Responsive Grid ViewNot sure it’s relevant for your specific purpose, but
object-fitCSS3 property can:Cut off the sides of an image, preserving the aspect ratio, and fill in the space.
More information:
https://www.w3schools.com/cssref/css3_pr_object-fit.aspForum: Plugins
In reply to: [Participants Database] Accessibility issue when editing a recordHi Roland,
Happy to hear you care about accessibility!
WebAIM could give you a good starting point (let me know if you need more):
https://webaim.org/techniques/forms/As I do, you can run your own tests with the free open source screen reader NVDA:
https://www.nvaccess.org/download/Regards,
Normand Lamoureux
- This reply was modified 6 years ago by norlam.
Forum: Plugins
In reply to: [Participants Database] Date field content problem after saving recordHi Rolland,
Thanks for your clear and usefull answer.
Problem resolved.
Regards,
- This reply was modified 6 years, 1 month ago by norlam.
Forum: Plugins
In reply to: [Participants Database] Non-English field nameHi, Rolland,
Changing the field name in the database solved my problem.
Here are the steps for those who need more details to achieve this:
- Connect to your web hosting provider account, open “cPanel” and choose “phpMyAdmin“.
- Click on your WordPress database on the left panel. You will see 3 “_participants_database” in the list.
- Select “_participants_database_fields“, change the name you need, click on “Execute” in the bottom and it’s done.
Conclusion: having non-English character in a field name is NOT a good idea.
Regards,
- This reply was modified 6 years, 2 months ago by norlam.
- This reply was modified 6 years, 2 months ago by norlam.
- This reply was modified 6 years, 2 months ago by norlam.
- This reply was modified 6 years, 2 months ago by norlam.
- This reply was modified 6 years, 2 months ago by norlam.
- This reply was modified 6 years, 2 months ago by norlam.
Forum: Plugins
In reply to: [Participants Database] How to show “Other” content fieldOk.
That’s why I failed to do.
Thanks.Forum: Plugins
In reply to: [Participants Database] How to show “Other” content fieldJust a little sub-question.
You said:
“If you want to show a list that only shows the records that have a write-in value, you can do that by filtering out all records that have chosen the defined values.”
Suppose a user check “White” and “Yellow”, and type “Gray” as a write-in value. His record will contain 3 values: “White, Yellow, Gray”.
I understand what you said as it is possible to show “White, Yellow, Gray” as a result by “filtering out” White and Yellow. But how to do this?
[pdb_list filter=”color~White&color~Yellow&color!” fields=”color”] will not show this record, since White and Yellow have been checked.
- This reply was modified 6 years, 2 months ago by norlam.
Forum: Plugins
In reply to: [Participants Database] How to show “Other” content fieldThanks for your rapid response.
You confirm what I finished to think.
Regards
- This reply was modified 6 years, 2 months ago by norlam.