Bug 131025

Summary: AX: VoiceOver reads wrong list count when UL is 'clearfixed' and LI are set to inline-block
Product: WebKit Reporter: Katrin Kerber <katrinkerber>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: jcraig, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.9   
Bug Depends on: 131041    
Bug Blocks:    
Attachments:
Description Flags
test case (last list in page) none

Description Katrin Kerber 2014-04-01 02:54:15 PDT
When setting list items as inline-block and using the clearfix technique which sets a pseudo element of the UL as display: table, VoiceOver will wrongly read that the list contains 1 item.

QuickCast to show the scenario: http://quick.as/vqpt3da
Comment 1 Radar WebKit Bug Importer 2014-04-01 02:58:47 PDT
<rdar://problem/16483989>
Comment 2 James Craig 2014-04-01 08:54:47 PDT
Hi Katrin, thanks for the screen cast, but we really need a test case. Just attach that list-test.html file you demoed in the video. Thanks.
Comment 3 James Craig 2014-04-01 08:56:03 PDT
Oh, I see the URL attached now. Nm. Thanks.
http://katrinkerber.com/list-test.html
Comment 4 James Craig 2014-04-01 09:20:17 PDT
Katrin's test case because correctly in the WebKit nightly builds. The second list is heuristically determined to be a presentational list (like a layout table) and therefore not exposed as a list at all.

I'm not convinced this bug is gone though. I updated the test case to include an example with explicit roles (that should override the heurisitic presentational determination) and the list is still being exposed as a group, So this bug is currently blocked or masked by bug 131041.
Comment 5 James Craig 2014-04-01 09:21:04 PDT
Created attachment 228291 [details]
test case (last list in page)
Comment 6 James Craig 2014-04-01 09:22:08 PDT
(In reply to comment #4)
> Katrin's test case because correctly…

*behaves* correctly.