Hey all I have a couple of questions about the FormHelper. In the process of doing a good SEO sweep of my own site, I ran a check through this site http://try.electrumsolutions.com/demo/addscan.aspx. A potential client uses it so I plopped my site in to see how I stacked up. Grr....got some work to do.
One thing this check was looking at was the fieldset tag. It popped Accessibility errors saying that all fieldset tags need a legend. Well the Form Helper creates a fieldset tag with hidden information in and a display:none style. No legend, thus the error. I know I'm probably getting worked up over a stupid error, but all the same. I did some checking and googling and all I found were ways to control labels and such. All I'm really concerned with is adding a legend to that hidden fieldset. So in the form helper I changed line 218: from $append = sprintf($this->Html->tags['fieldset'], ' style="display:none;"', $append'); to $append = sprintf($this->Html->tags['fieldset'], ' style="display:none;"', '<legend>Hidden Valley Ranch</legend>'. $append.''); Not sure, but I'm guessing there is a better way to do this? I also noticed a few other helpers I got from the bakery (menu & social bookmarks) needs a few adjustments for SEO. Thanks Russ http://blogs.rgreenphotography.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
