Closed
Bug 373532
Opened 17 years ago
Closed 17 years ago
Move roles and states out of nsIAccessible
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
People
(Reporter: surkov, Assigned: surkov)
Details
(Keywords: access)
Attachments
(3 files)
170.32 KB,
patch
|
aaronlev
:
review+
|
Details | Diff | Splinter Review |
151.43 KB,
patch
|
aaronlev
:
review+
|
Details | Diff | Splinter Review |
4.29 KB,
patch
|
Details | Diff | Splinter Review |
Move roles form nsIAccessible into nsIAccessibleStates like it do IA2. This will allow to keep nsIAccessible more cleaner. Also, I'd like to keep roles documented. Now the unique way to define, why this gecko role is, is to look through gecko code or platform role maps.
Assignee | ||
Comment 1•17 years ago
|
||
Aaron, will you approve this?
Comment 2•17 years ago
|
||
> Move roles form nsIAccessible into nsIAccessibleStates
Do you mean move roles from nsIAccesible to nsIAccessibleRoles?
And then maybe states into nsIAccessibleStates?
Assignee | ||
Comment 3•17 years ago
|
||
(In reply to comment #2) > > Move roles form nsIAccessible into nsIAccessibleStates > Do you mean move roles from nsIAccesible to nsIAccessibleRoles? > And then maybe states into nsIAccessibleStates? > Exactly :)
Comment 4•17 years ago
|
||
That's great. Go ahead.
Updated•17 years ago
|
Keywords: access
Summary: move roles form nsIAccessible into nsIAccessibleStates → Move roles and states out of nsIAccessible
Assignee | ||
Comment 5•17 years ago
|
||
Attachment #258576 -
Flags: review?(aaronleventhal)
Assignee | ||
Updated•17 years ago
|
Status: NEW → ASSIGNED
Comment 6•17 years ago
|
||
What about having nsIAccessible inherit from nsIAccessibleRole, just to avoid all the CVS changes?
Comment 7•17 years ago
|
||
Comment on attachment 258576 [details] [diff] [review] role patch Get it in soon so we can avoid conflicts with existing work. You can decide about whether to inherit or not, in order to avoid so many changes (nsIAccessible to nsIAccessibleRole).
Attachment #258576 -
Flags: review?(aaronleventhal) → review+
Assignee | ||
Comment 8•17 years ago
|
||
(In reply to comment #6) > What about having nsIAccessible inherit from nsIAccessibleRole, just to avoid > all the CVS changes? > It looks not total correct. Accessible object is not accessible role. Also I'd like to be closer to IA2. I checked in patch as is with following up linux's bustage fixes.
Assignee | ||
Comment 9•17 years ago
|
||
(In reply to comment #8) > (In reply to comment #6) > > What about having nsIAccessible inherit from nsIAccessibleRole, just to avoid > > all the CVS changes? > > > > It looks not total correct. Accessible object is not accessible role. Also I'd > like to be closer to IA2. I checked in patch as is with following up linux's > bustage fixes. > I hope our successors will estimates at their true worth :)
Assignee | ||
Comment 10•17 years ago
|
||
Aaron, is states are used outside of accessible module?
Attachment #258653 -
Flags: review?(aaronleventhal)
Comment 11•17 years ago
|
||
They can be useful for Javascript extensions like Fire Vox, a screen reading extension.
Assignee | ||
Comment 12•17 years ago
|
||
Are they in mozilla tree?
Comment 13•17 years ago
|
||
No they aren't.
Assignee | ||
Comment 14•17 years ago
|
||
Ok, I just afraid to fire the tree like I did with role patch :)
Comment 15•17 years ago
|
||
I wish there was a way to import the namespace so we didn't need to be so verbose. Also, why nsIAccessibleState_s_ plural when nsIAccessibleRole is singular?
Assignee | ||
Comment 16•17 years ago
|
||
(In reply to comment #15) > I wish there was a way to import the namespace so we didn't need to be so > verbose. Is there a way? > Also, why nsIAccessibleState_s_ plural when nsIAccessibleRole is singular? > That's how in IA2.
Comment 17•17 years ago
|
||
Comment on attachment 258653 [details] [diff] [review] state patch Is there any reason for me to check this patch over carefully? It's just moving stuff into a new file and doing a global replace, correct?
Comment 18•17 years ago
|
||
I don't remember, is there anything special we have to do to make the new IDL available to scripts? Probably not.
Assignee | ||
Comment 19•17 years ago
|
||
(In reply to comment #17) > (From update of attachment 258653 [details] [diff] [review]) > Is there any reason for me to check this patch over carefully? It's just moving > stuff into a new file and doing a global replace, correct? > Not sure the throughout check is needed. You're right it's moving stuff and replacing. The changes are compiled on Windows.
Assignee | ||
Comment 20•17 years ago
|
||
(In reply to comment #18) > I don't remember, is there anything special we have to do to make the new IDL > available to scripts? Probably not. > I think we should do nothing I guess since it is scriptable.
Comment 21•17 years ago
|
||
Comment on attachment 258653 [details] [diff] [review] state patch Okay, eventually we'll get you set up with a Linux machine too so you can test patches on there as well.
Attachment #258653 -
Flags: review?(aaronleventhal) → review+
Assignee | ||
Comment 22•17 years ago
|
||
(In reply to comment #21) > (From update of attachment 258653 [details] [diff] [review]) > Okay, eventually we'll get you set up with a Linux machine too so you can test > patches on there as well. > Okay. I hope there is no mac in the list? :) checked in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 23•17 years ago
|
||
This broke accessible/src/mac/mozAccessible.mm; that file at least needs the new states header and fixes to the references to nsIAccessible::STATE_*
Comment 24•17 years ago
|
||
Unfortunately Surkov is in Irkutsk, so he won't be awake for a while.
Assignee | ||
Comment 25•17 years ago
|
||
Unfortunally I can't test this patch. Stuart, can you ensure that all is fine?
Attachment #258750 -
Flags: review?(stuart.morgan)
Assignee | ||
Updated•17 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 26•17 years ago
|
||
Stuart, this works for me. Successful build, and the limited functionality we had with voiceover is working. Two thumbs up! Thanks Alexander.
Assignee | ||
Comment 27•17 years ago
|
||
Comment on attachment 258750 [details] [diff] [review] state fix patch checked in
Attachment #258750 -
Flags: review?(stuart.morgan)
Assignee | ||
Updated•17 years ago
|
Status: REOPENED → RESOLVED
Closed: 17 years ago → 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•