Closed
Bug 174888
Opened 23 years ago
Closed 22 years ago
Active Accessibility: unable to get keyboard shortcut for textbox node
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dsirnapalli, Assigned: yuanyi21)
References
Details
Attachments
(1 file)
|
843 bytes,
patch
|
aaronlev
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
Enter the following code in a xul file and open it in Mozilla.
// xultextbox.xul
<description>
<html:b> Testing XUL Textbox for Accessibility.. </html:b>
</description>
<box orient="vertical" flex="1">
// TextBox with default text
<textbox value="Default text..." accesskey="D"/>
<spacer flex="1"/>
</box>
Open Inspect tool. Tab to the above textbox node.Watch the keyboard shortcut in
Inspect tool. It shows empty string. It should show "Alt+D".
it's because the accesskey is an attribute of textbox, but we use its anonymous
child html:input to create the accessible object, so we can't get the accesskey
from html:input. maybe we should introduce a new class for XUL textbox.
Comment 2•23 years ago
|
||
Kyle, I think we should just be able to change the binding so it says
xbl:inherits="accesskey", so that the accesskey gets copied onto the anonyous
html:input
Comment 4•23 years ago
|
||
Comment on attachment 103271 [details] [diff] [review]
inherit accesskey from textbox
r=aaronl
Attachment #103271 -
Flags: review+
Comment 5•23 years ago
|
||
Comment on attachment 103271 [details] [diff] [review]
inherit accesskey from textbox
sr=bzbarsky
Attachment #103271 -
Flags: superreview+
checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•