RESOLVED FIXED 106243
Need new accessibility layout test to verify levels of headings
https://bugs.webkit.org/show_bug.cgi?id=106243
Summary Need new accessibility layout test to verify levels of headings
James Craig
Reported 2013-01-07 12:02:31 PST
new accessibility layout test to verify levels of headings: both native HTML (h1-h6) and WAI-ARIA ([role="heading"][aria-level="*"])
Attachments
accessibility layout test case verifying AX representations of heading levels (2.77 KB, text/html)
2013-01-09 16:15 PST, James Craig
no flags
layout test patch and changelog (unreviewed) (4.67 KB, patch)
2013-01-10 21:36 PST, James Craig
cfleizach: review-
webkit.review.bot: commit-queue-
layout test patch, chromium expectation mod, and changelog (reviewed by CF) (5.77 KB, patch)
2013-01-11 13:04 PST, James Craig
no flags
changelog modification from previous patch (5.82 KB, patch)
2013-01-11 14:01 PST, James Craig
cfleizach: review+
webkit.review.bot: commit-queue-
Same patch plus "reviewed by" placeholder for the bot. I, for one, welcome our robot overlords. (5.86 KB, patch)
2013-01-11 16:40 PST, James Craig
no flags
James Craig
Comment 1 2013-01-09 16:15:15 PST
Created attachment 182004 [details] accessibility layout test case verifying AX representations of heading levels
James Craig
Comment 2 2013-01-10 21:36:26 PST
Created attachment 182261 [details] layout test patch and changelog (unreviewed)
WebKit Review Bot
Comment 3 2013-01-10 22:19:25 PST
Comment on attachment 182261 [details] layout test patch and changelog (unreviewed) Attachment 182261 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/15808222 New failing tests: accessibility/heading-level.html
chris fleizach
Comment 4 2013-01-11 09:55:02 PST
Comment on attachment 182261 [details] layout test patch and changelog (unreviewed) View in context: https://bugs.webkit.org/attachment.cgi?id=182261&action=review test looks like its failing on chromium because they implement intValue() as void AccessibilityUIElement::intValueGetterCallback(CppVariant* result) { result->set(accessibilityObject().valueForRange()); } and we do something different. I would skip this test in LayoutTests/platform/chromium/TestExpectations and make a bug for chromium to resolve this intValue() difference and assign to Dominic > LayoutTests/ChangeLog:3 > + ER: new accessibility layout test to verify levels of headings ER is probably not appropriate, since it's just a layout test. Also capitalize beginning of bug > LayoutTests/ChangeLog:6 > + Reviewed by NOBODY (OOPS!). add some comment why this is needed > LayoutTests/accessibility/heading-level-expected.txt:1 > +X it'd be cool to hide all these X's once the test is done with something like document.getElementById("test-div").style.display = none or something > LayoutTests/accessibility/heading-level.html:14 > +<!-- explicit aria-level overrides on h1-h6 (withOUT explicit heading role declaration) --> i would reference the webkit bug that causes this to be broken > LayoutTests/accessibility/heading-level.html:47 > + for (var i=0, c=examples.length; i<c; i++){ use a space between terms i=0 --> i = 0 i<c --> i < c space between ){ > LayoutTests/accessibility/heading-level.html:55 > + result.innerText += "PASS: level is " + axElement.intValue + ".\n"; it looks like tabs are being used. webkit prefers only spaces instead of tabs (4 spaces per indent)
James Craig
Comment 5 2013-01-11 13:04:13 PST
Created attachment 182400 [details] layout test patch, chromium expectation mod, and changelog (reviewed by CF)
chris fleizach
Comment 6 2013-01-11 13:45:29 PST
Comment on attachment 182400 [details] layout test patch, chromium expectation mod, and changelog (reviewed by CF) View in context: https://bugs.webkit.org/attachment.cgi?id=182400&action=review otherwise looks good > LayoutTests/ChangeLog:3 > + New layout test to verify heading levels on implicit h1-h6 and explicit @aria-level. this line should go below the "Reviewed by" line, and in its place should be the title of the bug don't put my name in the Reviewed field. that will be auto filled by the commit queue
James Craig
Comment 7 2013-01-11 14:01:38 PST
Created attachment 182412 [details] changelog modification from previous patch
chris fleizach
Comment 8 2013-01-11 14:10:12 PST
Comment on attachment 182412 [details] changelog modification from previous patch Looks good. Lets make sure the bots are happy
WebKit Review Bot
Comment 9 2013-01-11 15:57:33 PST
Comment on attachment 182412 [details] changelog modification from previous patch Rejecting attachment 182412 [details] from commit-queue. Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', u'--status-host=queues.webkit.org', ..." exit_code: 1 cwd: /mnt/git/webkit-commit-queue /mnt/git/webkit-commit-queue/LayoutTests/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive). Full output: http://queues.webkit.org/results/15803640
chris fleizach
Comment 10 2013-01-11 15:59:02 PST
Comment on attachment 182412 [details] changelog modification from previous patch you need to leave the Reviewed by OOPS line in there so it can auto fill it in
James Craig
Comment 11 2013-01-11 16:40:46 PST
Created attachment 182446 [details] Same patch plus "reviewed by" placeholder for the bot. I, for one, welcome our robot overlords.
WebKit Review Bot
Comment 12 2013-01-11 18:08:42 PST
Comment on attachment 182446 [details] Same patch plus "reviewed by" placeholder for the bot. I, for one, welcome our robot overlords. Clearing flags on attachment: 182446 Committed r139534: <http://trac.webkit.org/changeset/139534>
WebKit Review Bot
Comment 13 2013-01-11 18:08:46 PST
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.