Well, GWT supports WAI-ARIA. I don't know what GWT does in the case of a Label to support it, but you can create a custom class, that extends Label and gives it the exact WAI-ARIA behavior you want.
Regards Jan Ehrhardt On Sun, Dec 13, 2009 at 7:48 PM, philippe <[email protected]> wrote: > @Jan: no, html label tag isn't just a text. For Visually impaired > people, Readers for Visually impaired interpreter tag "Label" as the > text input fields. If you click on the text label tag, the input is > automatically selected. The input tag can't be automatically selected > with a text Div tag. > > A good structure of your DOM is benefit for all agents. > > > On 13 déc, 12:01, Jan Ehrhardt <[email protected]> wrote: > > A HTML Label tag is used as a label for an input. A GWT Label widget is > just > > a text containing area somewhere in your UI. I think a Div tag is the > > natural choice for a Widget like Label. > > > > Regards > > Jan Ehrhardt > > > > > > > > On Sun, Dec 13, 2009 at 10:06 AM, philippe <[email protected]> wrote: > > > It is very important to improve accessibility. Everybody benefits from > > > this because at the same time improves the overall ergonomics. > > > > > See :http://www.seoconsultants.com/html/forms/labels/ > > > > > On 13 déc, 01:22, Yozons Support on Gmail <[email protected]> wrote: > > > > The use of LABEL tags is useful for accessibility. Just like TH is > > > useful > > > > for tables, though a TD will suffice, this is less the case when > > > attempting > > > > to be accessible. > > > > > -- > > > > > You received this message because you are subscribed to the Google > Groups > > > "Google Web Toolkit" group. > > > To post to this group, send email to > [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-web-toolkit%[email protected]><google-web-toolkit%2Bunsubs > [email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-web-toolkit?hl=en. > > -- > > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/google-web-toolkit?hl=en.
