Closed
Bug 306433
Opened 19 years ago
Closed 19 years ago
Strange cloned accesskeys in Pref window <description> tags
Categories
(Firefox :: Settings UI, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: marcoos, Assigned: aaronlev)
Details
(Keywords: fixed1.8, Whiteboard: [ETA: seeking approval])
Attachments
(2 files)
|
59.57 KB,
image/png
|
Details | |
|
796 bytes,
patch
|
vlad
:
review+
asa
:
approval1.8b4+
|
Details | Diff | Splinter Review |
All of the tabs except History and Cache in the Privacy tab of the pref window somehow copy accesskeys from the widgets inside the tab to the <description> tag, for example the Cookies tab <description> copies its accesskey from the 'allow sites to set cookies' checkbox. This causes some nasty problems for l10n teams. For example, the accesskey for the "allow pages to set cookies" checkbox is in the Polish l10n "l", but the letter 'l' is not used in the "Cookies are blahblah" description in that tab, so a "(L)" is added to the description and looks really bad. I'll attach a screenshot showing this problem in a moment. These copied accesskeys should be removed from the non-clickable widgets.
| Reporter | ||
Comment 1•19 years ago
|
||
This screenshots shows the cloned accesskeys in the Cookies, Download History and Passwords tabs of the privacy preferences.
Updated•19 years ago
|
Flags: blocking1.8b4?
| Reporter | ||
Comment 3•19 years ago
|
||
Why should they have accesskeys at all? (And if they should have ones for some strane reasons, it really shouldn't be copies of other elements' accesskeys)
| Assignee | ||
Comment 4•19 years ago
|
||
(In reply to comment #3) > Why should they have accesskeys at all? (And if they should have ones for some > strane reasons, it really shouldn't be copies of other elements' accesskeys) The accesskey must be on the control. In the <label control="[id]"> case we check the control for the accesskey because it is sometimes specified there. We recently added the control attribute to descriptions in the pref window so that screen readers would read the appropriate description as a user tabbed around to different controls. I can look at this bug -- it's probably a simple fix in text.xml.
| Assignee | ||
Comment 5•19 years ago
|
||
I'm seeing this on base en-US builds as well, not sure why. The <description> binding uses text-base which doesn't underline accesskey.
Updated•19 years ago
|
Flags: blocking1.8b4? → blocking1.8b4+
| Assignee | ||
Updated•19 years ago
|
Whiteboard: [ETA: seeking review]
| Assignee | ||
Comment 9•19 years ago
|
||
This does make it so clicking on a description doesn't focus the control it points to, but that doesn't need to happen anyway. That's the function of a <label> not a <description>. The description is static text in a dialog, which gives supplemental information. We have a control attribute so that screen readers can read the description for each control when it exists.
Comment on attachment 194372 [details] [diff] [review] Use regular text-base for description, even if it has control attribute, because we don't want to underline accesskeys in it. This sounds fine to me as described, but I'm not sure if there is any code out there that depends on the previous <description> behaviour... I'd guess not many (if any), though.
Attachment #194372 -
Flags: review?(vladimir) → review+
| Assignee | ||
Comment 11•19 years ago
|
||
The only difference between the 2 bindings is the click to focus and accesskey underlining. In the case of the click to focus you can still click on the control. Based on that, any potential regression is a tiny issue.
| Assignee | ||
Updated•19 years ago
|
Attachment #194372 -
Flags: approval1.8b4?
| Assignee | ||
Updated•19 years ago
|
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: [ETA: seeking review] → [ETA: seeking approval]
Comment 12•19 years ago
|
||
Comment on attachment 194372 [details] [diff] [review] Use regular text-base for description, even if it has control attribute, because we don't want to underline accesskeys in it. -'d for approval1.8b4. let's get this baking on the trunk for a few more days to ensure that it's fixed and doesn't cause additional regressions. please re-request approval.
Attachment #194372 -
Flags: approval1.8b4? → approval1.8b4-
Comment 13•19 years ago
|
||
Comment on attachment 194372 [details] [diff] [review] Use regular text-base for description, even if it has control attribute, because we don't want to underline accesskeys in it. re-requesting approval. we need to get this verified on the trunk first though.
Attachment #194372 -
Flags: approval1.8b4- → approval1.8b4?
Comment 14•19 years ago
|
||
on lates PL build I saw the (L) on first entry to The Privacy option...but upon return it was gone. I don't see it on en-ES
Comment 15•19 years ago
|
||
Comment on attachment 194372 [details] [diff] [review] Use regular text-base for description, even if it has control attribute, because we don't want to underline accesskeys in it. Sounds like this is working. a=asa for branch checkin. time is short so please land this quickly. thanks.
Attachment #194372 -
Flags: approval1.8b4? → approval1.8b4+
You need to log in
before you can comment on or make changes to this bug.
Description
•