Bug 39661

Summary: Self-registration form - field label missing for gender selection
Product: Koha Reporter: kristinamason
Component: AccessibilityAssignee: Laura Escamilla <Laura.escamilla>
Status: Pushed to main --- QA Contact: Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski>
Severity: normal    
Priority: P5 - low CC: baptiste.wojtkowski, david, dcook, Laura.escamilla, martin.renvoize, matt.blenkinsop, oleonard
Version: Main   
Hardware: All   
OS: All   
URL: http://localhost:8080/cgi-bin/koha/opac-memberentry.pl
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39782
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
25.05.00
Circulation function:
Attachments: Desktop screenshot
Mobile screenshot
Bug 39661: Added a label for the gender radio buttons
Bug 39661: Added a label for the gender radio buttons
Bug 39661: Added a label for the gender radio buttons

Description kristinamason 2025-04-17 05:18:05 UTC
Created attachment 181046 [details]
Desktop screenshot

To reproduce: 
Visit http://localhost:8080/cgi-bin/koha/opac-memberentry.pl

Issue:
On the "Register a new account" page, under the "Identity" heading, there are 4 radio buttons to choose a gender. There is no label in the left hand column as there are with the other fields on the form. 

It should ideally say "Gender:" next to the radio buttons on desktop. 
On mobile the "Gender:" label should show above the list of radio buttons, as the other field labels do. 

I've attached a screenshot indicating where I think the label should go. 

The issue is present regardless of browser and operating system.
Comment 1 kristinamason 2025-04-17 05:18:46 UTC
Created attachment 181047 [details]
Mobile screenshot
Comment 2 kristinamason 2025-04-17 05:27:49 UTC
Note: this is also the case in the Staff interface.
Comment 3 David Cook 2025-04-17 06:59:16 UTC
Interestingly, if you specify a gender for a user, the label will appear on the moremember.pl page under "Contact information" (e.g. http://localhost:8081/cgi-bin/koha/members/moremember.pl?borrowernumber=51).

This would be a good one to fix.
Comment 4 kristinamason 2025-04-27 04:29:15 UTC
I realised this issue is also present in the staff interface when adding a new patron. 

http://localhost:8081/cgi-bin/koha/members/memberentry.pl?op=add_form&categorycode=PT
Comment 5 Laura Escamilla 2025-04-29 20:12:49 UTC
Created attachment 181687 [details] [review]
Bug 39661: Added a label for the gender radio buttons

To test:
1. Visit http://localhost:8080/cgi-bin/koha/opac-memberentry.pl  or your test OPAC self registration page.
2. Under Identity scroll down until you see four radio buttons used to choose a gender. Note that there is no label next to the buttons.
3. Apply the patch.
4. The label “Gender” is now visible next to the radio buttons.
5. Sign off and have an amazing day! :D
Comment 6 Roman Dolny 2025-04-29 21:42:58 UTC
Created attachment 181690 [details] [review]
Bug 39661: Added a label for the gender radio buttons

To test:
1. Visit http://localhost:8080/cgi-bin/koha/opac-memberentry.pl  or your test OPAC self registration page.
2. Under Identity scroll down until you see four radio buttons used to choose a gender. Note that there is no label next to the buttons.
3. Apply the patch.
4. The label “Gender” is now visible next to the radio buttons.
5. Sign off and have an amazing day! :D

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Comment 7 Baptiste Wojtkowski (bwoj) 2025-04-30 11:40:47 UTC
Created attachment 181715 [details] [review]
Bug 39661: Added a label for the gender radio buttons

To test:
1. Visit http://localhost:8080/cgi-bin/koha/opac-memberentry.pl  or your test OPAC self registration page.
2. Under Identity scroll down until you see four radio buttons used to choose a gender. Note that there is no label next to the buttons.
3. Apply the patch.
4. The label “Gender” is now visible next to the radio buttons.
5. Sign off and have an amazing day! :D

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com>
Comment 8 Katrin Fischer 2025-05-02 06:55:16 UTC
Pushed for 25.05!

Well done everyone, thank you!