Closed
Bug 121114
Opened 23 years ago
Closed 23 years ago
No keyboard access to links in Element Properties window
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P1)
Core
DOM: UI Events & Focus Handling
Tracking
()
VERIFIED
FIXED
mozilla1.0
People
(Reporter: aaronlev, Assigned: aaronlev)
References
Details
(Keywords: access, Whiteboard: [adt2 rtm] - clear section 508 violation [verified on trunk])
Attachments
(1 file, 4 obsolete files)
(deleted),
patch
|
aaronlev
:
review+
hewitt
:
superreview+
|
Details | Diff | Splinter Review |
I cannot use the keyboard to focus on links in the element properties window.
This window is where accessibility information is often exposed - for example,
the links provided in the longdesc attribute on images and frames. So, we're
exposing the accessibility information visually, but now allowing the keyboard
users access to it.
I'll take a look and see if I can fix it first.
Assignee | ||
Updated•23 years ago
|
Assignee | ||
Comment 1•23 years ago
|
||
More explanation: this is the window you get when you right click on an element,
such as a link, and select properties from the context menu.
Comment 2•23 years ago
|
||
See also bug 82835, "Contents of properties dialogs should be copyable". I
think that turning the text elements, and maybe also the links, into disabled
textboxes is the best way to fix this bug (and bug 117429 and bug 108399).
Assignee | ||
Updated•23 years ago
|
Severity: normal → major
Comment 3•23 years ago
|
||
nsbeta1+ per ADT triage team
Comment 4•23 years ago
|
||
Properties don't even seem to work for me. Right clicking on a link and
choosing properties gives me a large, ugly, maximizable window (should be a
dialog) with a bunch of blank fields and the text "No properties set." Right
clicking on an image link, such as the Mozilla banner at the top, gives me the
ame large, ugly, maximizable window with the same "No properties set." text,
with the same abundance of blank fields, but the Image Properties fields are at
least filled in.
I think we should disable Properties for machv. No one is actively testing it,
and it's too late to bring it up to release-level quality.
Assignee | ||
Comment 5•23 years ago
|
||
Assignee | ||
Comment 6•23 years ago
|
||
Comment on attachment 73432 [details] [diff] [review]
Adds Accel+shift+z binding. r=jgaunt, sr=sfraser carried over from bugscape 12250.
Patch attached to wrong bug.
Attachment #73432 -
Attachment is obsolete: true
Assignee | ||
Comment 7•23 years ago
|
||
I marked this a dependancy of bug 112393, because allowing users to tab to
elements with onclick handlers, and use Enter to fire the handlers, would fix
the problem generally.
Or, we could go into metadata.xul, and change all of the occurances of <label
class="text-link" onclick="blah"> to <html:a>
What is the better solution?
Status: NEW → ASSIGNED
Priority: -- → P1
Assignee | ||
Comment 8•23 years ago
|
||
By doing a search in lxr for <label> with onclick=, I found another place with
inaccessible links in our UI:
msgAccountCentral.xul - This is the friendly page with "Read Messages", "Compose
Message", etc. when you first open your account.
There's one more place that I couldn't verify. You're supposed to be able to get
mail alerts if you set user_pref("mail.biff.show_alert",true);
I couldn't get that pref to work, so I couldn't try the alerts, which are
created by alert.xul.
Assignee | ||
Comment 9•23 years ago
|
||
Chatted with blake and hewitt, they both agree we should use <html:a> like this:
<hbox align="start">
<html:a id="id" href="&URL;" style="display: block;"
target="_new">&label.label;</html:a> </hbox>
Assignee | ||
Comment 10•23 years ago
|
||
Assignee | ||
Comment 11•23 years ago
|
||
Attachment #77722 -
Attachment is obsolete: true
Comment 12•23 years ago
|
||
r=bzbarsky, make sure hyatt takes a look at the xul.css changes.
Assignee | ||
Updated•23 years ago
|
Whiteboard: [adt2] - clear section 508 violation
Comment 13•23 years ago
|
||
You can't compare the entire class attribute like you are doing, because it is
possible to have a space-separated list of classes. You need to split the
string by " " and compare each substring against "text-link"
Assignee | ||
Comment 14•23 years ago
|
||
To tell the truth, I didn't know how to separate strings by spaces in CSS. But
I think this is better anyway - it makes any text label with an onclick handler
accessible.
Attachment #77724 -
Attachment is obsolete: true
Assignee | ||
Comment 15•23 years ago
|
||
Comment on attachment 78747 [details] [diff] [review]
Even better, uses label[onclick] for css rule - so that anything with onclick handler is accessible to kbd users
From r=bzbarsky
Attachment #78747 -
Flags: review+
Comment 16•23 years ago
|
||
Comment on attachment 78747 [details] [diff] [review]
Even better, uses label[onclick] for css rule - so that anything with onclick handler is accessible to kbd users
You really need to split by spaces. Do this:
var attr = this.getAttribute("class");
var classes = attr.split(" ");
Then, classes will be an array of class names, and you can loop through and
look for "text-link".
label[onclick] won't fly either, because it is always possible to add a click
event listener via .addEventListener, which would not affect the onclick
attribute.
Attachment #78747 -
Flags: needs-work+
Assignee | ||
Comment 17•23 years ago
|
||
Attachment #78747 -
Attachment is obsolete: true
Assignee | ||
Comment 18•23 years ago
|
||
Comment on attachment 78834 [details] [diff] [review]
Cleared up confusion with Hewitt. I had the CSS rule correct, but I didn't need to check the class in the XBL (js).
Carrying over r=bzbarsky
Attachment #78834 -
Flags: review+
Comment 19•23 years ago
|
||
Comment on attachment 78834 [details] [diff] [review]
Cleared up confusion with Hewitt. I had the CSS rule correct, but I didn't need to check the class in the XBL (js).
sr=hewitt
Attachment #78834 -
Flags: superreview+
Updated•23 years ago
|
Whiteboard: [adt2] - clear section 508 violation → [adt2 rtm] - clear section 508 violation
Comment 20•23 years ago
|
||
Does this still need to be checked in or what?
Assignee | ||
Comment 21•23 years ago
|
||
checked in a long time ago
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 22•23 years ago
|
||
vrfy'd fixed using 2002.06.25.08 trunk comm bits on win2k and mac 10.1.5, and
2002.06.20.04 comm trunk bits on linux rh7.2. (note: this did not make it onto
the branch.)
Whiteboard: [adt2 rtm] - clear section 508 violation → [adt2 rtm] - clear section 508 violation [verified on trunk]
Updated•6 years ago
|
Component: Keyboard: Navigation → User events and focus handling
Comment 24•6 years ago
|
||
Keywords: sec508
You need to log in
before you can comment on or make changes to this bug.
Description
•