Closed Bug 327347 Opened 18 years ago Closed 17 years ago

Places search box does not have an accessible name

Categories

(Firefox :: Bookmarks & History, defect, P2)

x86
Windows XP
defect

Tracking

()

RESOLVED FIXED
Firefox 3

People

(Reporter: pilgrim, Assigned: Gijs)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060214 Firefox/1.6a1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060214 Firefox/1.6a1

The Places search box does not expose an accessible name to assistive technologies.  By contrast, the main web search box has an accessible name of "Search".

Reproducible: Always

Steps to Reproduce:
1. Open Inspect32.exe
2. Open Places
3. Set focus to Places search box


Actual Results:  
Inspect32 shows accessible name = ""

Expected Results:  
Inspect32 shows a useful accessible name, such as "Search bookmarks and history" (if that option is selected) or "Search <collection name>" if "Current collection only" is selected.
Keywords: access
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: nobody → bugs
Priority: -- → P2
Target Milestone: --- → Firefox 2 beta1
Target Milestone: Firefox 2 beta1 → Firefox 3
Blocks: keya11y
Blocks: chromea11y
No longer blocks: keya11y
Assignee: bugs → nobody
So this adds a label attribute which keeps the right value. Tested with inspect32, and this does the trick.



==
I should note that I've noticed the grey text doesn't update until you use the Edit menu to do a folder-specific search - after which it updates for each folder you select. Pretty sure that is a bug, will double-check and file afterwards, if it doesn't exist already.
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Attachment #279621 - Flags: review?(mano)
Comment on attachment 279621 [details] [diff] [review]
Add label attribute equivalent to gray text

r=mano
Attachment #279621 - Flags: review?(mano) → review+
Comment on attachment 279621 [details] [diff] [review]
Add label attribute equivalent to gray text

This is low-to-zero-risk, and a boon for a11y. Asking for approval...
Attachment #279621 - Flags: approval1.9?
Attachment #279621 - Flags: approval1.9? → approval1.9+
Checking in mozilla/browser/components/places/content/places.js;
/cvsroot/mozilla/browser/components/places/content/places.js,v  <--  places.js
new revision: 1.108; previous revision: 1.107
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".

In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body   contains   places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.

Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.

Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: