WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
25901
[Gtk] Use ATK_ROLE_SECTION for divTag and ATK_ROLE_LABEL for labelTag
https://bugs.webkit.org/show_bug.cgi?id=25901
Summary
[Gtk] Use ATK_ROLE_SECTION for divTag and ATK_ROLE_LABEL for labelTag
Joanmarie Diggs
Reported
2009-05-20 17:03:40 PDT
Steps to reproduce: 1. Open the (to be) attached test case. 2. Use Accerciser to explore the accessible hierarchy Expected results: The text enclosed in <div></div> would be contained in an accessible object of ROLE_SECTION. Actual results: The text enclosed in <div></div> is contained in an accessible object of ROLE_PANEL. As for paragraphs contained in <div></div>, the expected hierarchy would include both roles, thus: - ROLE_SECTION - ROLE_PARAGRAPH - ROLE_TEXT
Attachments
aforementioned test case
(179 bytes, text/html)
2009-05-20 17:04 PDT
,
Joanmarie Diggs
no flags
Details
proposed patch - take 1
(2.82 KB, patch)
2009-10-17 21:42 PDT
,
Joanmarie Diggs
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Joanmarie Diggs
Comment 1
2009-05-20 17:04:46 PDT
Created
attachment 30516
[details]
aforementioned test case
Joanmarie Diggs
Comment 2
2009-10-17 21:20:21 PDT
Now that I'm actually looking at these things from the other side.... :-)
Bug 25530
is really two different bugs (and possibly three): 1. The accessible role being used with labels is wrong 2. The LABEL_FOR/LABELLED_BY relationship pair is missing (because, among other things, it seems accessible relationships haven't been implemented yet) 3. The accessible name of the AtkObject which is LABELLED_BY the label should be taken from the name of the label. And I'm starting to suspect that ain't going to happen magically on its own. So.... I've re-purposed this bug to deal with issue 1 (roles). 25530 can deal with the other two issues. Also, regarding this bit:
> As for paragraphs contained in <div></div>, the expected hierarchy would > include both roles, thus: > > - ROLE_SECTION > - ROLE_PARAGRAPH > - ROLE_TEXT
I suggested it because that's what Gecko does. I'm now starting to think doing that might be rather pointless, not to mention introduce a bunch of unneeded additional accessibles into the mix which might negatively impact performance. Therefore, I'm withdrawing this part for now. If, upon further consideration, I want it after all, I'll file a new bug for it.
Joanmarie Diggs
Comment 3
2009-10-17 21:42:56 PDT
Created
attachment 41370
[details]
proposed patch - take 1 Tested with both the test case for this bug and for the test case for
bug 25530
.
Holger Freyther
Comment 4
2009-10-18 08:46:16 PDT
Seems fine but I'm waiting for Xan to comment.
Xan Lopez
Comment 5
2009-10-18 08:57:34 PDT
Comment on
attachment 41370
[details]
proposed patch - take 1 Yep, looks good!
WebKit Commit Bot
Comment 6
2009-10-18 09:23:23 PDT
Comment on
attachment 41370
[details]
proposed patch - take 1 Clearing flags on attachment: 41370 Committed
r49751
: <
http://trac.webkit.org/changeset/49751
>
WebKit Commit Bot
Comment 7
2009-10-18 09:23:27 PDT
All reviewed patches have been landed. Closing bug.
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