Closed Bug 352194 Opened 18 years ago Closed 18 years ago

text field doesn't get STATE_FOCUSED when parent location autocomplete gets STATE_FOCUSED

Categories

(Core :: Disability Access APIs, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: parente, Assigned: nian.liu)

References

Details

(Keywords: access)

Attachments

(1 obsolete file)

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060911 Minefield/3.0a1

Neither the location bar accessible (role = autocomplete) nor its text field (role = entry) have STATE_FOCUSED set when the bar has focus. Both accessibles have STATE_FOCUSABLE.
Blocks: newatk
Keywords: access
Assignee: aaronleventhal → nian.liu
my test result on latest trunk 0911 shows
role=autocomplete has STATE_FOCUSED
role=entry  doesn't has STATE_FOCUSED

do we need both of them has STATE_FOCUSED
Attached patch patch (obsolete) — Splinter Review
make entry in autocomplete has state focused
Attachment #237944 - Flags: review?(aaronleventhal)
Nian, if that works, and gLastFocusedNode is on the autocomplete widget, then why doesn't the accessible for the autocomplete get STATE_FOCUSED already?

The accessible for gLastFocusedNode is what should get STATE_FOCUSED.
I just see this comment now. We only need the role=autocomplete item to have STATE_FOCUSED. So perhaps this is not a bug, sorry that you wasted time on it.

(In reply to comment #1)
> my test result on latest trunk 0911 shows
> role=autocomplete has STATE_FOCUSED
> role=entry  doesn't has STATE_FOCUSED
> 
> do we need both of them has STATE_FOCUSED
> 

Summary: Neither location autocomplete nor a descendant gets STATE_FOCUSED → text field doesn't get STATE_FOCUSED when parent location autocomplete gets STATE_FOCUSED
patch is for later requirement need this. wont fix at present
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
In today's build, I do see STATE_FOCUSED on the autocomplete. Must have been a transient. Thanks.
Attachment #237944 - Flags: review?(aaronleventhal)
Attachment #237944 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: