After doing more research (with better keywords) I found this.

http://groups.google.com/group/cake-php/browse_thread/thread/76970975b47c5dec/9f7823963887ef9b?lnk=gst&q=FormHelper+Fieldset#9f7823963887ef9b

I'll add my extends to the formhelper copied via the core into app.

On Mar 18, 3:10 pm, rgreenphotodesign <[email protected]>
wrote:
> Hey all I have a couple of questions about theFormHelper.
>
> In the process of doing a good SEO sweep of my own site, I ran a check
> through this sitehttp://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 thefieldsettag. It popped
> Accessibility errors saying that allfieldsettags need a legend. Well
> the Form Helper creates afieldsettag 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 hiddenfieldset.
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to