Closed
Bug 184499
Opened 23 years ago
Closed 22 years ago
nsIAccessible's accName returns wrong value for Listbox node.
Categories
(Core :: Disability Access APIs, defect, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 246062
People
(Reporter: dsirnapalli, Assigned: aaronlev)
Details
Steps to reproduce:
1. Open Microsoft word.
2. From Tools open Options.
3. Click option File Locations.
4. Select one list item and click on Navigate to parent in Inspect tool.
5. Check the Name: in Inspect tool. It shows "File types" which is the label for
the list box.
Now open the following xul code in Mozilla.
<box orient="vertical">
<description>
<html:b> Testing XUL Listbox for Accessibility.. </html:b>
</description>
<label value="Select a List Item:" control="get-item"/>
<box orient="horizontal">
<!-- listbox element is used to create multi-row list boxes -->
<listbox id="get-item" accesskey="l">
<listitem label="First Item" value="firstitem"/>
<listitem label="Second Item" value="seconditem"/>
<listitem label="Third Item" value="thirditem"/>
<listitem label="Fourth Item" value="fourthitem"/>
</listbox>
<spacer flex="1"/>
</box>
</box>
Open MozInspect.
Click on some item in Listbox. Click on Navigate to parent.
Instead of seeing "Select a list item:" which is the label you will see "First
Item Second Item Third Item Fourth Itme".
It should show the Label for Name:
| Assignee | ||
Updated•22 years ago
|
Priority: -- → P3
| Assignee | ||
Comment 1•22 years ago
|
||
Bug 246062 has the fix for this.
*** This bug has been marked as a duplicate of 246062 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•