WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
23610
Create a new MSAA role for List Item elements.
https://bugs.webkit.org/show_bug.cgi?id=23610
Summary
Create a new MSAA role for List Item elements.
Sankar Aditya Tanguturi
Reported
2009-01-28 20:45:09 PST
When a web page is rendered using WebKit and inspect32 is invoked on windows, MSAA role attribute is not properly set for list item elements. On Firefox 2.0.0.14, it is properly set to ListItemRole (ROLE_SYSTEM_LISTITEM). ~Thanks Sankar.
Attachments
Patch to populate role attribute for list item elements.
(5.52 KB, patch)
2009-01-28 23:26 PST
,
Sankar Aditya Tanguturi
no flags
Details
Formatted Diff
Diff
Patch to populate role attribute for list item elements.
(6.65 KB, patch)
2009-02-04 22:58 PST
,
Sankar Aditya Tanguturi
eric
: review-
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Sankar Aditya Tanguturi
Comment 1
2009-01-28 23:26:51 PST
Created
attachment 27139
[details]
Patch to populate role attribute for list item elements. This is a very simple patch. As jon asked, this patch is uploaded to just populate the role attribute of list elements appropriately.
chris fleizach
Comment 2
2009-02-01 06:55:25 PST
I am not sure that a list item should have casSetFocus through accessibility. Can a list item be focused on? You probably also want to map { ListItemRole, NSAccessibilityGroupRole } in AccessibilityObjectWrapper.mm so that mac users will not experience any problems immediately your indentation in your layout test is also incorrect. it seems like this layout test will fail on mac because the string "list item" appearing as the role will not be the value returned on the mac. perhaps make this a windows only test. this is an *official* review, just comments from the mac side of accessibility =)
Sankar Aditya Tanguturi
Comment 3
2009-02-01 15:44:45 PST
@Chris, Yeah, list item can be focused. You can check it using inspect32 tool on Firefox 2.0.0.14 on windows. I agree that test case should be placed in windows specific directory. I will make changes to the patch. Other than that, I don't find any issue with the test case. Can you explain me why do you think that intention in the test case is not correct. Accessibility support on windows for running layout tests is not good. So, I had to focus the body element and walk till the list item element. ~ Thanks. (In reply to
comment #2
)
> I am not sure that a list item should have casSetFocus through accessibility. > Can a list item be focused on? > > You probably also want to map > > { ListItemRole, NSAccessibilityGroupRole } > in AccessibilityObjectWrapper.mm > > so that mac users will not experience any problems immediately > > your indentation in your layout test is also incorrect. > > it seems like this layout test will fail on mac because the string "list item" > appearing as the role will not be the value returned on the mac. perhaps make > this a windows only test. > > this is an *official* review, just comments from the mac side of accessibility > =) >
chris fleizach
Comment 4
2009-02-02 13:58:13 PST
indentation != intention
Sankar Aditya Tanguturi
Comment 5
2009-02-04 22:58:53 PST
Created
attachment 27341
[details]
Patch to populate role attribute for list item elements. Implemented all changes as specified by Chris in his review comments. ~ Thanks.
chris fleizach
Comment 6
2009-02-04 23:06:41 PST
that looks ok to me
Eric Seidel (no email)
Comment 7
2009-03-26 10:47:42 PDT
This sounds like something jhoneycutt needs to review.
Jon Honeycutt
Comment 8
2009-03-26 11:37:15 PDT
Comment on
attachment 27341
[details]
Patch to populate role attribute for list item elements. Looks good to me. Thanks, Sankar!
Eric Seidel (no email)
Comment 9
2009-04-29 15:26:10 PDT
Comment on
attachment 27341
[details]
Patch to populate role attribute for list item elements. I had to fix your ChangeLogs when landing. There was also a stray tab character in AccessibilityObject.h (which causes the commit to fail). Otherwise it committed fine.
http://trac.webkit.org/changeset/43020
Please set your REAL_NAME environment variable to your full name (or be sure to clean up the ChangeLogs manually after running prepare-ChangeLog). Committing to
http://svn.webkit.org/repository/webkit/trunk
... M LayoutTests/ChangeLog A LayoutTests/platform/win/accessibility/listitem-role-expected.txt A LayoutTests/platform/win/accessibility/listitem-role.html M WebCore/ChangeLog M WebCore/page/AccessibilityObject.h M WebCore/page/AccessibilityRenderObject.cpp M WebCore/page/mac/AccessibilityObjectWrapper.mm M WebKit/win/AccessibleBase.cpp M WebKit/win/ChangeLog Committed
r43020
Sankar Aditya Tanguturi
Comment 10
2009-04-29 15:45:04 PDT
Thanks Eric for committing the patch. It almost 9 months for me to get this patch landed.
Eric Seidel (no email)
Comment 11
2009-04-29 16:29:21 PDT
Rolled out due to failure: Committing to
http://svn.webkit.org/repository/webkit/trunk
... D LayoutTests/platform/win/accessibility/listitem-role-expected.txt D LayoutTests/platform/win/accessibility/listitem-role.html M LayoutTests/ChangeLog M WebCore/ChangeLog M WebCore/page/AccessibilityObject.h M WebCore/page/AccessibilityRenderObject.cpp M WebCore/page/mac/AccessibilityObjectWrapper.mm M WebKit/win/AccessibleBase.cpp M WebKit/win/ChangeLog Committed
r43027
Eric Seidel (no email)
Comment 12
2009-04-29 16:29:43 PDT
Failure:
http://build.webkit.org/results/Tiger%20Intel%20Release/r43020%20(662)/accessibility/lists-pretty-diff.html
chris fleizach
Comment 13
2009-04-29 16:32:10 PDT
that doesn't look like an important difference, although its a little odd it showed up after this patch
Sankar Aditya Tanguturi
Comment 14
2009-04-30 12:19:46 PDT
(In reply to
comment #13
)
> that doesn't look like an important difference, although its a little odd it > showed up after this patch >
Can you tell me what I need to do from my side to get this patch landed.
James Craig
Comment 15
2013-04-15 16:31:07 PDT
I think this may be resolved with:
http://trac.webkit.org/changeset/52351
James Craig
Comment 16
2013-09-30 11:50:07 PDT
No response in at least 6 months. Closing
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug