Closed Bug 64160 Opened 24 years ago Closed 24 years ago

color picker's pallette should be focusable

Categories

(Core :: DOM: Editor, defect, P2)

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED
mozilla0.9.2

People

(Reporter: jruderman, Assigned: cmanske)

References

Details

(Keywords: access, Whiteboard: [dialog] fixed)

Attachments

(3 files)

The pallette in composer's color picker should be focusable. Clicking on the pallette should shift focus to it, as should hitting shift-tab from the "Last- picked color" button. There should be some indication that it is focused (white border around the selected color?). The arrow keys should let the user select different colors.
Marking this bug as blocking bug 64161.
Blocks: 64161
Keywords: access, nsbeta1
->xptoolkit
Assignee: pavlov → trudelle
->saari
Assignee: trudelle → saari
The colorpicker isn't a widget, right (if I'm wrong, point me to the source)? Just a grid of colors, so the composer team should deal with this.
Assignee: saari → beppe
Component: XP Toolkit/Widgets → Editor
Giving to cmanske@netscape.com for now. Charley, who owns the color picker widget?
Assignee: beppe → cmanske
I own the XUL that gives everything *around* the grid of colors in the Colorpicker used for mail and composer. That grid is the <colorpicker> XUL widget and is owned by Pavlov.
Assignee: cmanske → pavlov
Component: Editor → XP Toolkit/Widgets
This is definitely an accessibility issue. CCing Aaron.
Target Milestone: --- → mozilla0.9.1
After looking down the path of bug 64161, I see that the focus problem was solved for Browser's colorpicker by hewitt. Unfortunately, this looks tricky, since hewitt is using type="button" on the <colorpicker>, which makes it the *button* that launches the color-grid, while we are using the color grid embeded in our own XUL dialog. Joe: Help!
Component: XP Toolkit/Widgets → Editor
Bug 56150 has the relevant changes that hewitt made.
Assignee: pavlov → cmanske
Depends on: 56150
No longer blocks: 64161
The XUL <colorpicker> widget has been changed so it doesn't show the array of colors at all (a button must be pressed to access them).
Status: NEW → ASSIGNED
Depends on: 78375
No longer depends on: 56150
Keywords: correctness
Priority: -- → P2
moving to 0.9.2
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Perhaps changing the colorpickertiles from springs to buttons would help?
Whiteboard: [dialog]
These are the enhancements made to the colorpicker XBL: 1. Keyhandlers are moved from the button to the colorpicker, so it can work in Composer (and other users who don't want to use 'colorpicker-button'.) The navigation keys (all 4 arrow keys) work when the colorpicker takes focus, and stops when it looses focus. 2. "Space" key support added to select the color (same as Enter key in button version) This allows setting the color in Composer's colorpicker, so you can see the value in the color input field without closing the dialog, as the Enter key does. 3. The color set by the colorbutton (or anyone else who sets the "colorpicker.color" attribute) is initialized so keyboard navigation starts with that color. 4. Recognition of 16 standard HTML color names ("Navy", "Maroon" etc.) when setting the colorpicker.color attribute. 5. CSS styles are tweaked to make the 'hover' cell more noticeable when mouse is hovered over colors or when arrow keys move from color to color. A lighter border color is used when the color swatch is bright.
Whiteboard: [dialog] → [dialog] FIX IN HAND need r=, sr=
r=kin
Whiteboard: [dialog] FIX IN HAND need r=, sr= → [dialog] FIX IN HAND need sr=
sr=hewitt
Whiteboard: [dialog] FIX IN HAND need sr= → [dialog] FIX IN HAND
Blocks: 83989
a= asa@mozilla.org for checkin to the trunk. (on behalf of drivers)
Whiteboard: [dialog] FIX IN HAND → [dialog] fixed, reviewed, a=asa
checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Whiteboard: [dialog] fixed, reviewed, a=asa → [dialog] fixed
verified win2k 2001062803 linux 2001062706 macos 2001062809
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: