Bug 39661 - Self-registration form - field label missing for gender selection
Summary: Self-registration form - field label missing for gender selection
Status: Pushed to main
Alias: None
Product: Koha
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Laura Escamilla
QA Contact: Baptiste Wojtkowski (bwoj)
URL: http://localhost:8080/cgi-bin/koha/op...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-17 05:18 UTC by kristinamason
Modified: 2025-05-02 06:55 UTC (History)
7 users (show)

See Also:
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 (24.30 KB, image/png)
2025-04-17 05:18 UTC, kristinamason
Details
Mobile screenshot (21.89 KB, image/png)
2025-04-17 05:18 UTC, kristinamason
Details
Bug 39661: Added a label for the gender radio buttons (1.82 KB, patch)
2025-04-29 20:12 UTC, Laura Escamilla
Details | Diff | Splinter Review
Bug 39661: Added a label for the gender radio buttons (1.87 KB, patch)
2025-04-29 21:42 UTC, Roman Dolny
Details | Diff | Splinter Review
Bug 39661: Added a label for the gender radio buttons (1.94 KB, patch)
2025-04-30 11:40 UTC, Baptiste Wojtkowski (bwoj)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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!