On Mar 24, 6:05 am, enTropy Fragment <[email protected]> wrote: > Hi! > > I am developing a web page that should be accesible. While working with GWT > I have discovered it is more focused in RIA than in creating standard and > good code. It is so open and powerfull that it still makes sense (to me) to > keep working with it so I just wanted to share with you the best practices I > found and the problems I could not solve yet to create a completely > acessible, valid and standard web. Would be nice to make this list grow as > there is almost no info about this on the Internet as far as I've found. > > Would be nice if you could share your own solutions, comment the ones I > proposed or extend the list with more problems! ^^'
Additionally, there's no good way to use <label>. Some widgets use Document.createUniqueId() to give elements ids and Document.createLabelElement() to add small-l <label>s. How do you do this through UiBinder? You can fake it by adding ClickHandlers to an InlineLabel, but that doesn't help with screen-readers. It's also a much bulkier technique than <label>. ARIA has the aria-labelledby state. This hasn't shown up in the Accessibility class yet, and ARIA is unstable, by definition. It's also strange that there's no DTD or schema for the ARIA tags yet. I would have expected them to be namespaced, but the W3C decided against that. As an aside, the Firefox spellcheck attribute is also not namespaced, so any document using it fails W3C validation. Most people don't care, but I'd like my HTML to pass strict validation. I don't want to use FormPanel, because I'm using GWT-RPC to submit data to the server. However, I should not use CaptionPanel either, because that translates to a <fieldset>, which is invalid outside a <form>. How do I show my users a similar look and feel? ListBox has no method to add an <optgroup> to a list. What's the equivalent? At least, you can use <h[1-6]>, <ol>, <ul>, <dl>, and <li> easily in a UiBinder file. You can also look for David Maddison's list widgets if you want to create them dynamically. Respectfully, Eric Jablow -- 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.
