| Summary: | common code to attach all the key bindings to clickable items | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Susan McCourt <susan> |
| Component: | Client | Assignee: | Susan McCourt <susan> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 1.0 | ||
| Target Milestone: | 3.0 M1 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Susan McCourt
In w3c web component lingo, the keyboard event handlers and accessibility roles would be packaged as a decorator that just got marked up when you defined the button. Fixed in http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=abd8670d8a019c3ef890e17c85de2efc1b314627 I took a slightly different approach here. I tried to make all buttons be real buttons (vs. spans) where possible. Then we don't need to attach the accessibility/keyboard enabling code because you get it for free in the browser. In the past we were having problems with the user agent styles for buttons, but I was able to style them to look the same and convert most of our spans to real buttons. There are still a few places where spans are used (such as menu items) and these are now sharing code. |