Bug 131819

Summary: AX: grid rows are not recognized due to lack of explicit role="row", role="gridcell"
Product: WebKit Reporter: James Craig <jcraig>
Component: AccessibilityAssignee: chris fleizach <cfleizach>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, apinheiro, cfleizach, commit-queue, dmazzoni, jdiggs, mario, samuel_white, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
test case
none
patch darin: review+

Description James Craig 2014-04-17 14:33:14 PDT
Created attachment 229579 [details]
test case

AX: grid rows are not recognized do to lack of explicit role="row", role="gridcell"

See attached test case. The <tr> and <td> elements don't have another role defined, so they should be fine using the implicit "row" and "gridcell" role. 

More info about implicit semantics in these portions of the spec.
http://www.w3.org/WAI/PF/aria/complete#implicit_semantics
http://www.w3.org/WAI/PF/aria/complete#mustContain
http://www.w3.org/WAI/PF/aria/complete#presentation
Comment 1 Radar WebKit Bug Importer 2014-04-17 14:34:19 PDT
<rdar://problem/16651324>
Comment 2 chris fleizach 2014-04-17 17:59:27 PDT
Created attachment 229604 [details]
patch
Comment 3 WebKit Commit Bot 2014-04-17 18:00:45 PDT
Attachment 229604 [details] did not pass style-queue:


ERROR: Source/WebCore/accessibility/AccessibilityARIAGrid.cpp:57:  Multi line control clauses should use braces.  [whitespace/braces] [4]
Total errors found: 1 in 5 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 chris fleizach 2014-04-17 18:07:24 PDT
(In reply to comment #3)
> Attachment 229604 [details] did not pass style-queue:
> 
> 
> ERROR: Source/WebCore/accessibility/AccessibilityARIAGrid.cpp:57:  Multi line control clauses should use braces.  [whitespace/braces] [4]
> Total errors found: 1 in 5 files
> 
> 
> If any of these errors are false positives, please file a bug against check-webkit-style.

False positive
https://bugs.webkit.org/show_bug.cgi?id=131835
Comment 5 chris fleizach 2014-04-19 18:39:39 PDT
http://trac.webkit.org/changeset/167559