[TYPO3-content-rendering] Fieldset around radio-button group
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Tue Apr 4 18:05:14 CEST 2006
Ernesto Baschny [cron IT] schrieb:
> Hi,
>
> Martin Kutschker schrieb am 04.04.2006 15:40:
>
>
>>>Do you think the semantically correct way is to have only the legend or
>>>only the label?
>>
>>Yes. If both have the same text then there is too much information.
>
> My question was more a "choose this or that" type. :) Which do you
> prefer for being the default?
I used to prefer the version with label. But read on below.
>>>And if we keep the label, should it have a "label for"
>>>and the radio-button group an unique id to which this label refers?
>>
>>Yes, like the current output but without legend.
>
> This was being questioned by the bug reporter. He seems no use to have a
> "label for" that points to the fieldset that groups the radio-button group.
>
> I have found neither an argument for nor evidence against this solution
> in my quick web-research, but maybe someone can shed us a light what is
> the "most correct" way to do it?
>
> I still think it is semantically plausible and correct, while I am not
> sure if it brings any usability benefit (clicking on such a label brings
> nothing).
But what does a screenreader do? The clicking thing is nice but IHMO not
main feature. The point is we have a relation between two elements.
This makes me unsure, but I think I'll stick to the label-version.
>>But I can imaging a useLegend-option that disables the label and adds a
>>legend.
>
> And this should be default in the "accessibility=1" of TYPO3 4.0?
Maybe. But since I gather that 99% of my forms to come will use a colun
based layout I'm not to keen on a label-less layout ;-)
Masi
More information about the TYPO3-project-content-rendering
mailing list