Closed
Bug 907682
Opened 11 years ago
Closed 11 years ago
HTML:option group position is not correct when select is collapsed
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: surkov, Assigned: jwei)
References
(Blocks 1 open bug)
Details
(Keywords: access, regression, Whiteboard: [mentor=surkov.alexander@gmail.com][lang=c++])
Attachments
(1 file, 2 obsolete files)
5.83 KB,
patch
|
Details | Diff | Splinter Review |
reported by AT vendor. It should be relatively easy. Guys if you want to pick it up please go ahead.
Comment 1•11 years ago
|
||
I want to take this bug.Please provide the information on how to proceed.Thanks!
Reporter | ||
Comment 2•11 years ago
|
||
you need to set break point at Accessible::GroupPosition() and see what happens. To trigger it you can start DOM Inspector (an extension you need to install), switch to the accessible tree, select the HTML option accessible of some HTML select, call JS console from the context menu, type "accessible.groupPosition" and press "execute" button.
Reporter | ||
Updated•11 years ago
|
Depends on: 2013q4a11y
Reporter | ||
Updated•11 years ago
|
Blocks: 2013q4a11y
No longer depends on: 2013q4a11y
Comment 3•11 years ago
|
||
Hi, anyone working on this bug? I want to work on this. Can you help me?
Comment 4•11 years ago
|
||
(In reply to alexander :surkov from comment #2)
> you need to set break point at Accessible::GroupPosition() and see what
> happens. To trigger it you can start DOM Inspector (an extension you need to
> install), switch to the accessible tree, select the HTML option accessible
> of some HTML select, call JS console from the context menu, type
> "accessible.groupPosition" and press "execute" button.
Can you give me a testcase? I couldn't make out this exactly. I tried as surkov said in his comment 2, but nothing happend.
Reporter | ||
Comment 5•11 years ago
|
||
just ordinal HTML select
the problem here is all HTML select option except first one have invisible state what prevents us to calculate group position for it.
Keywords: regression,
regressionwindow-wanted
Comment 6•11 years ago
|
||
Hi !
I'm interested in contributing to mozilla with this bug.Kindly do assign it to me.
Reporter | ||
Comment 7•11 years ago
|
||
(In reply to Darshana Padmadas from comment #6)
> Hi !
> I'm interested in contributing to mozilla with this bug.Kindly do assign it
> to me.
Aveek pls confirm if you work on it
Flags: needinfo?(aveek1)
Reporter | ||
Comment 8•11 years ago
|
||
(In reply to Darshana Padmadas from comment #6)
> Hi !
> I'm interested in contributing to mozilla with this bug.Kindly do assign it
> to me.
are you still interested in it?
Comment 9•11 years ago
|
||
Yes.I am still interested in fixing this bug.
Thank you.
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → darshanapadmadas
Assignee | ||
Comment 10•11 years ago
|
||
Attachment #8356780 -
Flags: review?(trev.saunders)
Reporter | ||
Comment 11•11 years ago
|
||
Darshana, since Jonathan has got a patch then it makes sense to change an assignee. Please let me know if you still want some bug to work on.
Flags: needinfo?(aveek1)
Reporter | ||
Updated•11 years ago
|
Assignee: darshanapadmadas → jwei
Comment 12•11 years ago
|
||
(In reply to alexander :surkov from comment #5)
> just ordinal HTML select
>
> the problem here is all HTML select option except first one have invisible
> state what prevents us to calculate group position for it.
did you look into why VisibilityState() returns invisible? that might be interesting to understand.
Assignee | ||
Comment 13•11 years ago
|
||
I took a look at VisibilityState() for an HTML select element that's collapsed, and the view of one of the frames (the third one up the stack) is flagged as invisible when determining visibility for an option element. When evaluating a combobox list, its view is invisible. When evaluating a combobox, it's set to visible. The combobox list is not actually visible to the user, so I guess it makes sense for it to be invisible. I don't have enough knowledge yet about nsFrames, its relationship to the various accessible objects, and how the various accessibility tools utilise this information, but wouldn't changing this behaviour cause various other issues unrelated to this one?
Comment 14•11 years ago
|
||
(In reply to Jonathan Wei [:jwei] from comment #13)
> I took a look at VisibilityState() for an HTML select element that's
> collapsed, and the view of one of the frames (the third one up the stack) is
> flagged as invisible when determining visibility for an option element.
well, its flagged as hidden which is right, and we interpret that as invisible, which might be a little fishy, but I guess I'm not that interested in touching that can of worms right now.
> When evaluating a combobox list, its view is invisible. When evaluating a
> combobox, it's set to visible. The combobox list is not actually visible to
> the user, so I guess it makes sense for it to be invisible. I don't have
I guess somebody specificly makes the selected option shown then.
> enough knowledge yet about nsFrames, its relationship to the various
> accessible objects, and how the various accessibility tools utilise this
> information, but wouldn't changing this behaviour cause various other issues
> unrelated to this one?
Well, if I was going to change something else I'd consider how reasonable the check of the views visibility is, but I just assume not worry about breaking stuff which is really likely here.
Comment 15•11 years ago
|
||
Comment on attachment 8356780 [details] [diff] [review]
Made collapsed options offscreen and not invisible.
> if (!selected) {
> state |= states::OFFSCREEN;
>+ state &= ~(states::INVISIBLE);
^= might be clearer, but we generally have done &= ~x so whatever
>+++ b/accessible/tests/mochitest/states/test_selects.html
might be nice to test group position it self while your here.
Attachment #8356780 -
Flags: review?(trev.saunders) → review+
Comment 16•11 years ago
|
||
Yes.I'm still looking for a bug to fix.Thanks.
Reporter | ||
Comment 17•11 years ago
|
||
(In reply to Darshana Padmadas from comment #16)
> Yes.I'm still looking for a bug to fix.Thanks.
here's a list https://bugzilla.mozilla.org/buglist.cgi?list_id=9131051&resolution=---&query_based_on=good-first-bug&status_whiteboard_type=substring&query_format=advanced&status_whiteboard=[good%20first%20bug]&component=Disability%20Access%20APIs&product=Core&known_name=good-first-bug. please let me know which one looks good for you.
Assignee | ||
Comment 18•11 years ago
|
||
It appears that tests related to group positioning, including that of the select element, already exist under attributes/test_obj_group.html.
Attachment #8356780 -
Attachment is obsolete: true
Comment 19•11 years ago
|
||
> It appears that tests related to group positioning, including that of the
> select element, already exist under attributes/test_obj_group.html.
yes, but that only covers select size=N which is different, and of course if there was tests of this they would be marked as todo() since they clearly don't pass because the bug exists.
Assignee | ||
Comment 20•11 years ago
|
||
(In reply to Trevor Saunders (:tbsaunde) from comment #19)
> > It appears that tests related to group positioning, including that of the
> > select element, already exist under attributes/test_obj_group.html.
>
> yes, but that only covers select size=N which is different, and of course if
> there was tests of this they would be marked as todo() since they clearly
> don't pass because the bug exists.
Ah, okay. I'll get on that, then. Apologies for the misunderstanding.
Assignee | ||
Comment 21•11 years ago
|
||
Attachment #8358565 -
Attachment is obsolete: true
Reporter | ||
Comment 22•11 years ago
|
||
Flags: in-testsuite+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Comment 24•10 years ago
|
||
Issue is resolved - clearing old keywords - qa-wanted clean-up
Keywords: regressionwindow-wanted
You need to log in
before you can comment on or make changes to this bug.
Description
•