Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 3.2.16

Request #12063 Disabled (frozen) elements not accessible
Submitted: 2007-09-17 10:27 UTC
From: nfreear Assigned:
Status: Wont fix Package: HTML_QuickForm (version 3.2.9)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 23 - 7 = ?

 
 [2007-09-17 10:27 UTC] nfreear (Nick Freear)
Description: ------------ When a "frozen" (disabled) form element is displayed with QuickForm, it is not displayed as expected with a disabled="disabled" attribute - instead QuickForm tries to give a plain text equivalent. This is a usability and accessibility problem: 1. It loses uniform appearance with the rest of the user interface, and will confuse some users. 2. For non-visual users using screen reader software this text may not be read and in any case will not make sense. Applies to, at least: advcheckbox, checkbox, password, radio HTML 4, disabled attribute, http://www.w3.org/TR/html4/interact/forms.html#adef-disabled We use QuickForm in Moodle - for the moment we have fixed it at our level, but really it needs fixing in the QuickForm base classes, http://tracker.moodle.org/browse/MDL-8627 Expected result: ---------------- Checkbox example: <label for="y">label</label> <input type="checkbox" disabled="disabled" id="y" /> Actual result: -------------- Checkbox example: label [ ], or [x]

Comments

 [2007-09-18 10:32 UTC] avb (Alexey Borzov)
This is not a bug, but a feature request. And we don't accept feature requests for HTML_QuickForm package.
 [2007-09-21 15:11 UTC] nfreear (Nick Freear)
Hi Alexey, Thank you for the response (I realised afterwards that my report could have been more tackful!) We'll have to agree to disagree over "feature request" versus "bug", but I appreciate that you're concentrating on QuickForm2. I have already posted the issue there, and I'll try and put a patch together, http://pear.php.net/bugs/12065 Yours Nick