[EMAIL PROTECTED] wrote:
Can I ask a DOM question here? Is there a way to use JavaScript and the Dom to make an element be focusable?

Some browsers support the proposed ability to use the tabindex on almost any element [1], where a positive value will add it to the tabbing order and a negative value will make the element focussable (e.g. by clicking) but not within the keyboard tabbing order. For most purposes, tabindex="0" should work for you. To work around the validation errors, you could set the attribute via the DOM.

[1] http://www.whatwg.org/specs/web-apps/current-work/#the-tabindex

--
Lachlan Hunt
http://lachy.id.au/


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to