Short URL: http://html5.org/r/2538
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 2538 | Make focused elements fire onclick='' when the user activates them with the keyboard. | 2008-12-16 23:43 |
Index: source =================================================================== --- source (revision 2537) +++ source (revision 2538) @@ -46332,6 +46332,16 @@ <span>being rendered</span><!-- XXX xref, define display:none as not being rendered, off-screen as being rendered? -->.</p> + <p>An element that is <span>focusable</span> but does not otherwise + have an <span>activation behavior</span> defined has an + <span>activation behavior</span> that does nothing.</p> + + <p class="note">This means that an element that is only focusable + because of its <code title="attr-tabindex">tabindex</code> attribute + will fire a <code title="event-click">click</code> event in response + to a non-mouse activation (e.g. hitting the "enter" key while the + element is focused).</p> + <p>The <dfn title="dom-tabIndex"><code>tabIndex</code></dfn> DOM attribute must <span>reflect</span> the value of the <code title="attr-tabindex">tabindex</code> content attribute. If the