Changeset 174567 in webkit


Ignore:
Timestamp:
Oct 10, 2014 1:32:58 AM (9 years ago)
Author:
commit-queue@webkit.org
Message:

[ATK] Changing the mapping of ARIA rowheader and columnheader into respective ATK roles.
https://bugs.webkit.org/show_bug.cgi?id=136150

Patch by Andrzej Badowski <a.badowski@samsung.com> on 2014-10-10
Reviewed by Chris Fleizach.

Source/WebCore:

Expose ColumnHeaderRole and RowHeaderRole objects into ATK.

Test: accessibility/table-roles-hierarchy.html

  • accessibility/AccessibilityRenderObject.cpp:

(WebCore::AccessibilityRenderObject::determineAccessibilityRole):
Platforms based on ATK: added distinction of roles for the <th> elements.

  • accessibility/AccessibilityTableCell.cpp:

(WebCore::AccessibilityTableCell::determineAccessibilityRole):
Platforms based on ATK: the return value is determined in the ancestor.

  • accessibility/atk/AccessibilityObjectAtk.cpp:

(WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
In addition to CellRole also included ColumnHeaderRole and RowHeaderRole.

  • accessibility/atk/WebKitAccessibleWrapperAtk.cpp:

(atkRole):
Changing the mapping of ARIA rowheader and columnheader into respective ATK roles.
(getInterfaceMaskFromObject):
In addition to CellRole also included ColumnHeaderRole and RowHeaderRole.

LayoutTests:

Minor changes in the roles-exposed test to check the mapping of rowheader and columnheader.
As a result of changes in the code test also shows the changes for the <th> element.
Changes expectations so that they cover propoer mapping of RowHeaderRole and ColumnHeaderRole.

  • accessibility/aria-tables-expected.txt:
  • accessibility/roles-exposed.html:
  • accessibility/table-roles-hierarchy-expected.txt: Added.
  • accessibility/table-roles-hierarchy.html: Added.
  • platform/efl/accessibility/roles-exposed-expected.txt: Added.
  • platform/efl/accessibility/table-attributes-expected.txt:
  • platform/efl/accessibility/table-cells-expected.txt:
  • platform/efl/accessibility/table-detection-expected.txt:
  • platform/gtk/accessibility/roles-exposed-expected.txt: Added.
  • platform/gtk/accessibility/table-attributes-expected.txt:
  • platform/gtk/accessibility/table-cells-expected.txt:
  • platform/gtk/accessibility/table-sections-expected.txt:
  • platform/mac/accessibility/aria-tables-expected.txt: Copied from LayoutTests/accessibility/aria-tables-expected.txt.
  • platform/mac/accessibility/table-roles-hierarchy-expected.txt: Added.
Location:
trunk
Files:
5 added
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r174557 r174567  
     12014-10-10  Andrzej Badowski  <a.badowski@samsung.com>
     2
     3        [ATK] Changing the mapping of ARIA rowheader and columnheader into respective ATK roles.
     4        https://bugs.webkit.org/show_bug.cgi?id=136150
     5
     6        Reviewed by Chris Fleizach.
     7
     8        Minor changes in the roles-exposed test to check the mapping of rowheader and columnheader.
     9        As a result of changes in the code test also shows the changes for the <th> element.
     10        Changes expectations so that they cover propoer mapping of RowHeaderRole and ColumnHeaderRole.
     11
     12        * accessibility/aria-tables-expected.txt:
     13        * accessibility/roles-exposed.html:
     14        * accessibility/table-roles-hierarchy-expected.txt: Added.
     15        * accessibility/table-roles-hierarchy.html: Added.
     16        * platform/efl/accessibility/roles-exposed-expected.txt: Added.
     17        * platform/efl/accessibility/table-attributes-expected.txt:
     18        * platform/efl/accessibility/table-cells-expected.txt:
     19        * platform/efl/accessibility/table-detection-expected.txt:
     20        * platform/gtk/accessibility/roles-exposed-expected.txt: Added.
     21        * platform/gtk/accessibility/table-attributes-expected.txt:
     22        * platform/gtk/accessibility/table-cells-expected.txt:
     23        * platform/gtk/accessibility/table-sections-expected.txt:
     24        * platform/mac/accessibility/aria-tables-expected.txt: Copied from LayoutTests/accessibility/aria-tables-expected.txt.
     25        * platform/mac/accessibility/table-roles-hierarchy-expected.txt: Added.
     26
    1272014-10-09  Simon Fraser  <simon.fraser@apple.com>
    228
  • trunk/LayoutTests/accessibility/aria-tables-expected.txt

    r158810 r174567  
    1313AXRole: AXTable
    1414AXRole: AXTable
    15 AXRole: AXCell
    16 AXRole: AXCell
    17 AXRole: AXCell
     15AXRole: AXColumnHeader
     16AXRole: AXColumnHeader
     17AXRole: AXRowHeader
    1818AXRole: AXCell
    1919Test passed
  • trunk/LayoutTests/accessibility/roles-exposed.html

    r170412 r174567  
    207207        <!-- [ATK] Object not exposed (webkit.org/b/125491) --><div data-platform="mac" role="row"              class="ex">
    208208            <!-- Note: diff between rowheader, columnheader, and gridcell is in cross-reference from grid; need additional non-role verification in another test. -->
    209             <!-- [ATK] Wrong role (webkit.org/b/125493) --><div data-platform="mac" role="rowheader"    class="ex">X</div>
    210             <!-- [ATK] Wrong role (webkit.org/b/125493) --><div data-platform="mac" role="columnheader" class="ex">X</div>
     209            <div data-platform="atk,mac" role="rowheader"    class="ex">X</div>
     210            <div data-platform="atk,mac" role="columnheader" class="ex">X</div>
    211211            <div data-platform="atk,mac" role="gridcell"     class="ex">X</div>
    212212        </div>
     
    271271        <!-- [ATK] Object not exposed (webkit.org/b/125491) --><div role="row"              data-platform="mac" class="ex">
    272272            <!-- Note: diff between rowheader, columnheader, and gridcell is in cross-reference from grid; need additional non-role verification in another test. -->
    273             <!-- [ATK] Wrong role (webkit.org/b/125493) --><div role="rowheader"    data-platform="mac" class="ex">X</div>
    274             <!-- [ATK] Wrong role (webkit.org/b/125493) --><div role="columnheader" data-platform="mac" class="ex">X</div>
     273            <div role="rowheader"    data-platform="atk,mac" class="ex">X</div>
     274            <div role="columnheader" data-platform="atk,mac" class="ex">X</div>
    275275            <div role="gridcell"     data-platform="atk,mac" class="ex">X</div>
    276276        </div>
  • trunk/LayoutTests/platform/efl/accessibility/table-attributes-expected.txt

    r170290 r174567  
    99--------------------------
    1010
     11AXRole: AXRowHeader
     12AXParent: AXTable: Example #1: Nested Stubs
     13AXChildren: 0
     14AXPosition: { 0.000000, 0.000000 }
     15AXSize: { 144.000000, 66.000000 }
     16AXTitle:
     17AXDescription:
     18AXValue: Ruritanian<\n>Population <\n>Survey
     19AXFocusable: 0
     20AXFocused: 0
     21AXSelectable: 1
     22AXSelected: 0
     23AXMultiSelectable: 0
     24AXEnabled: 1
     25AXExpanded: 0
     26AXRequired: 0
     27AXChecked: 0
     28AXPlatformAttributes: toolkit:WebKitEfl
     29------------
     30AXRole: AXRowHeader
     31AXParent: AXTable: Example #1: Nested Stubs
     32AXChildren: 0
     33AXPosition: { 0.000000, 0.000000 }
     34AXSize: { 144.000000, 66.000000 }
     35AXTitle:
     36AXDescription:
     37AXValue: Ruritanian<\n>Population <\n>Survey
     38AXFocusable: 0
     39AXFocused: 0
     40AXSelectable: 1
     41AXSelected: 0
     42AXMultiSelectable: 0
     43AXEnabled: 1
     44AXExpanded: 0
     45AXRequired: 0
     46AXChecked: 0
     47AXPlatformAttributes: toolkit:WebKitEfl
     48------------
     49AXRole: AXRowHeader
     50AXParent: AXTable: Example #1: Nested Stubs
     51AXChildren: 0
     52AXPosition: { 0.000000, 0.000000 }
     53AXSize: { 70.000000, 66.000000 }
     54AXTitle:
     55AXDescription:
     56AXValue: All<\n>Genders
     57AXFocusable: 0
     58AXFocused: 0
     59AXSelectable: 1
     60AXSelected: 0
     61AXMultiSelectable: 0
     62AXEnabled: 1
     63AXExpanded: 0
     64AXRequired: 0
     65AXChecked: 0
     66AXPlatformAttributes: toolkit:WebKitEfl
     67------------
     68AXRole: AXRowHeader
     69AXParent: AXTable: Example #1: Nested Stubs
     70AXChildren: 0
     71AXPosition: { 0.000000, 0.000000 }
     72AXSize: { 120.000000, 30.000000 }
     73AXTitle:
     74AXDescription:
     75AXValue: By Gender
     76AXFocusable: 0
     77AXFocused: 0
     78AXSelectable: 1
     79AXSelected: 0
     80AXMultiSelectable: 0
     81AXEnabled: 1
     82AXExpanded: 0
     83AXRequired: 0
     84AXChecked: 0
     85AXPlatformAttributes: toolkit:WebKitEfl
     86------------
     87AXRole: AXRowHeader
     88AXParent: AXTable: Example #1: Nested Stubs
     89AXChildren: 0
     90AXPosition: { 0.000000, 0.000000 }
     91AXSize: { 120.000000, 30.000000 }
     92AXTitle:
     93AXDescription:
     94AXValue: By Gender
     95AXFocusable: 0
     96AXFocused: 0
     97AXSelectable: 1
     98AXSelected: 0
     99AXMultiSelectable: 0
     100AXEnabled: 1
     101AXExpanded: 0
     102AXRequired: 0
     103AXChecked: 0
     104AXPlatformAttributes: toolkit:WebKitEfl
     105------------
     106
     107
     108--------------------------
     109
     110AXRole: AXRowHeader
     111AXParent: AXTable: Example #1: Nested Stubs
     112AXChildren: 0
     113AXPosition: { 0.000000, 0.000000 }
     114AXSize: { 143.000000, 66.000000 }
     115AXTitle:
     116AXDescription:
     117AXValue: Ruritanian<\n>Population <\n>Survey
     118AXFocusable: 0
     119AXFocused: 0
     120AXSelectable: 1
     121AXSelected: 0
     122AXMultiSelectable: 0
     123AXEnabled: 1
     124AXExpanded: 0
     125AXRequired: 0
     126AXChecked: 0
     127AXPlatformAttributes: toolkit:WebKitEfl
     128------------
     129AXRole: AXRowHeader
     130AXParent: AXTable: Example #1: Nested Stubs
     131AXChildren: 0
     132AXPosition: { 0.000000, 0.000000 }
     133AXSize: { 143.000000, 66.000000 }
     134AXTitle:
     135AXDescription:
     136AXValue: Ruritanian<\n>Population <\n>Survey
     137AXFocusable: 0
     138AXFocused: 0
     139AXSelectable: 1
     140AXSelected: 0
     141AXMultiSelectable: 0
     142AXEnabled: 1
     143AXExpanded: 0
     144AXRequired: 0
     145AXChecked: 0
     146AXPlatformAttributes: toolkit:WebKitEfl
     147------------
     148AXRole: AXRowHeader
     149AXParent: AXTable: Example #1: Nested Stubs
     150AXChildren: 0
     151AXPosition: { 0.000000, 0.000000 }
     152AXSize: { 90.000000, 60.000000 }
     153AXTitle:
     154AXDescription:
     155AXValue: All Regions
     156AXFocusable: 0
     157AXFocused: 0
     158AXSelectable: 1
     159AXSelected: 0
     160AXMultiSelectable: 0
     161AXEnabled: 1
     162AXExpanded: 0
     163AXRequired: 0
     164AXChecked: 0
     165AXPlatformAttributes: toolkit:WebKitEfl
     166------------
     167AXRole: AXRowHeader
     168AXParent: AXTable: Example #1: Nested Stubs
     169AXChildren: 0
     170AXPosition: { 0.000000, 0.000000 }
     171AXSize: { 90.000000, 60.000000 }
     172AXTitle:
     173AXDescription:
     174AXValue: All Regions
     175AXFocusable: 0
     176AXFocused: 0
     177AXSelectable: 1
     178AXSelected: 0
     179AXMultiSelectable: 0
     180AXEnabled: 1
     181AXExpanded: 0
     182AXRequired: 0
     183AXChecked: 0
     184AXPlatformAttributes: toolkit:WebKitEfl
     185------------
     186
     187
     188--------------------------
     189
     190
     191
     192--------------------------
     193
     194
     195
     196--------------------------
     197
     198AXRole: AXRowHeader
     199AXParent: AXTable: Example #1: Nested Stubs
     200AXChildren: 0
     201AXPosition: { 0.000000, 0.000000 }
     202AXSize: { 143.000000, 66.000000 }
     203AXTitle:
     204AXDescription:
     205AXValue: Ruritanian<\n>Population <\n>Survey
     206AXFocusable: 0
     207AXFocused: 0
     208AXSelectable: 1
     209AXSelected: 0
     210AXMultiSelectable: 0
     211AXEnabled: 1
     212AXExpanded: 0
     213AXRequired: 0
     214AXChecked: 0
     215AXPlatformAttributes: toolkit:WebKitEfl
     216------------
     217AXRole: AXRowHeader
     218AXParent: AXTable: Example #1: Nested Stubs
     219AXChildren: 0
     220AXPosition: { 0.000000, 0.000000 }
     221AXSize: { 143.000000, 66.000000 }
     222AXTitle:
     223AXDescription:
     224AXValue: Ruritanian<\n>Population <\n>Survey
     225AXFocusable: 0
     226AXFocused: 0
     227AXSelectable: 1
     228AXSelected: 0
     229AXMultiSelectable: 0
     230AXEnabled: 1
     231AXExpanded: 0
     232AXRequired: 0
     233AXChecked: 0
     234AXPlatformAttributes: toolkit:WebKitEfl
     235------------
     236AXRole: AXRowHeader
     237AXParent: AXTable: Example #1: Nested Stubs
     238AXChildren: 0
     239AXPosition: { 0.000000, 0.000000 }
     240AXSize: { 69.000000, 66.000000 }
     241AXTitle:
     242AXDescription:
     243AXValue: All<\n>Genders
     244AXFocusable: 0
     245AXFocused: 0
     246AXSelectable: 1
     247AXSelected: 0
     248AXMultiSelectable: 0
     249AXEnabled: 1
     250AXExpanded: 0
     251AXRequired: 0
     252AXChecked: 0
     253AXPlatformAttributes: toolkit:WebKitEfl
     254------------
     255AXRole: AXRowHeader
     256AXParent: AXTable: Example #1: Nested Stubs
     257AXChildren: 0
     258AXPosition: { 0.000000, 0.000000 }
     259AXSize: { 119.000000, 30.000000 }
     260AXTitle:
     261AXDescription:
     262AXValue: By Gender
     263AXFocusable: 0
     264AXFocused: 0
     265AXSelectable: 1
     266AXSelected: 0
     267AXMultiSelectable: 0
     268AXEnabled: 1
     269AXExpanded: 0
     270AXRequired: 0
     271AXChecked: 0
     272AXPlatformAttributes: toolkit:WebKitEfl
     273------------
     274AXRole: AXRowHeader
     275AXParent: AXTable: Example #1: Nested Stubs
     276AXChildren: 0
     277AXPosition: { 0.000000, 0.000000 }
     278AXSize: { 119.000000, 30.000000 }
     279AXTitle:
     280AXDescription:
     281AXValue: By Gender
     282AXFocusable: 0
     283AXFocused: 0
     284AXSelectable: 1
     285AXSelected: 0
     286AXMultiSelectable: 0
     287AXEnabled: 1
     288AXExpanded: 0
     289AXRequired: 0
     290AXChecked: 0
     291AXPlatformAttributes: toolkit:WebKitEfl
     292------------
     293AXRole: AXRowHeader
     294AXParent: AXTable: Example #1: Nested Stubs
     295AXChildren: 0
     296AXPosition: { 0.000000, 0.000000 }
     297AXSize: { 143.000000, 66.000000 }
     298AXTitle:
     299AXDescription:
     300AXValue: Ruritanian<\n>Population <\n>Survey
     301AXFocusable: 0
     302AXFocused: 0
     303AXSelectable: 1
     304AXSelected: 0
     305AXMultiSelectable: 0
     306AXEnabled: 1
     307AXExpanded: 0
     308AXRequired: 0
     309AXChecked: 0
     310AXPlatformAttributes: toolkit:WebKitEfl
     311------------
     312AXRole: AXRowHeader
     313AXParent: AXTable: Example #1: Nested Stubs
     314AXChildren: 0
     315AXPosition: { 0.000000, 0.000000 }
     316AXSize: { 143.000000, 66.000000 }
     317AXTitle:
     318AXDescription:
     319AXValue: Ruritanian<\n>Population <\n>Survey
     320AXFocusable: 0
     321AXFocused: 0
     322AXSelectable: 1
     323AXSelected: 0
     324AXMultiSelectable: 0
     325AXEnabled: 1
     326AXExpanded: 0
     327AXRequired: 0
     328AXChecked: 0
     329AXPlatformAttributes: toolkit:WebKitEfl
     330------------
     331AXRole: AXRowHeader
     332AXParent: AXTable: Example #1: Nested Stubs
     333AXChildren: 0
     334AXPosition: { 0.000000, 0.000000 }
     335AXSize: { 69.000000, 66.000000 }
     336AXTitle:
     337AXDescription:
     338AXValue: All<\n>Genders
     339AXFocusable: 0
     340AXFocused: 0
     341AXSelectable: 1
     342AXSelected: 0
     343AXMultiSelectable: 0
     344AXEnabled: 1
     345AXExpanded: 0
     346AXRequired: 0
     347AXChecked: 0
     348AXPlatformAttributes: toolkit:WebKitEfl
     349------------
     350AXRole: AXRowHeader
     351AXParent: AXTable: Example #1: Nested Stubs
     352AXChildren: 0
     353AXPosition: { 0.000000, 0.000000 }
     354AXSize: { 52.000000, 36.000000 }
     355AXTitle:
     356AXDescription:
     357AXValue: Males
     358AXFocusable: 0
     359AXFocused: 0
     360AXSelectable: 1
     361AXSelected: 0
     362AXMultiSelectable: 0
     363AXEnabled: 1
     364AXExpanded: 0
     365AXRequired: 0
     366AXChecked: 0
     367AXPlatformAttributes: toolkit:WebKitEfl
     368------------
     369AXRole: AXRowHeader
     370AXParent: AXTable: Example #1: Nested Stubs
     371AXChildren: 0
     372AXPosition: { 0.000000, 0.000000 }
     373AXSize: { 67.000000, 36.000000 }
     374AXTitle:
     375AXDescription:
     376AXValue: Females
     377AXFocusable: 0
     378AXFocused: 0
     379AXSelectable: 1
     380AXSelected: 0
     381AXMultiSelectable: 0
     382AXEnabled: 1
     383AXExpanded: 0
     384AXRequired: 0
     385AXChecked: 0
     386AXPlatformAttributes: toolkit:WebKitEfl
     387------------
     388AXRole: AXRowHeader
     389AXParent: AXTable: Example #1: Nested Stubs
     390AXChildren: 0
     391AXPosition: { 0.000000, 0.000000 }
     392AXSize: { 90.000000, 60.000000 }
     393AXTitle:
     394AXDescription:
     395AXValue: All Regions
     396AXFocusable: 0
     397AXFocused: 0
     398AXSelectable: 1
     399AXSelected: 0
     400AXMultiSelectable: 0
     401AXEnabled: 1
     402AXExpanded: 0
     403AXRequired: 0
     404AXChecked: 0
     405AXPlatformAttributes: toolkit:WebKitEfl
     406------------
     407AXRole: AXRowHeader
     408AXParent: AXTable: Example #1: Nested Stubs
     409AXChildren: 0
     410AXPosition: { 0.000000, 0.000000 }
     411AXSize: { 53.000000, 30.000000 }
     412AXTitle:
     413AXDescription:
     414AXValue: North
     415AXFocusable: 0
     416AXFocused: 0
     417AXSelectable: 1
     418AXSelected: 0
     419AXMultiSelectable: 0
     420AXEnabled: 1
     421AXExpanded: 0
     422AXRequired: 0
     423AXChecked: 0
     424AXPlatformAttributes: toolkit:WebKitEfl
     425------------
    11426AXRole: AXCell
    12427AXParent: AXTable: Example #1: Nested Stubs
    13428AXChildren: 0
    14429AXPosition: { 0.000000, 0.000000 }
    15 AXSize: { 144.000000, 66.000000 }
    16 AXTitle:
    17 AXDescription:
    18 AXValue: Ruritanian<\n>Population <\n>Survey
     430AXSize: { 69.000000, 30.000000 }
     431AXTitle:
     432AXDescription:
     433AXValue: 3333
    19434AXFocusable: 0
    20435AXFocused: 0
     
    32447AXChildren: 0
    33448AXPosition: { 0.000000, 0.000000 }
    34 AXSize: { 144.000000, 66.000000 }
    35 AXTitle:
    36 AXDescription:
    37 AXValue: Ruritanian<\n>Population <\n>Survey
     449AXSize: { 52.000000, 30.000000 }
     450AXTitle:
     451AXDescription:
     452AXValue: 1111
    38453AXFocusable: 0
    39454AXFocused: 0
     
    51466AXChildren: 0
    52467AXPosition: { 0.000000, 0.000000 }
    53 AXSize: { 70.000000, 66.000000 }
    54 AXTitle:
    55 AXDescription:
    56 AXValue: All<\n>Genders
     468AXSize: { 67.000000, 30.000000 }
     469AXTitle:
     470AXDescription:
     471AXValue: 2222
     472AXFocusable: 0
     473AXFocused: 0
     474AXSelectable: 1
     475AXSelected: 0
     476AXMultiSelectable: 0
     477AXEnabled: 1
     478AXExpanded: 0
     479AXRequired: 0
     480AXChecked: 0
     481AXPlatformAttributes: toolkit:WebKitEfl
     482------------
     483AXRole: AXRowHeader
     484AXParent: AXTable: Example #1: Nested Stubs
     485AXChildren: 0
     486AXPosition: { 0.000000, 0.000000 }
     487AXSize: { 90.000000, 60.000000 }
     488AXTitle:
     489AXDescription:
     490AXValue: All Regions
     491AXFocusable: 0
     492AXFocused: 0
     493AXSelectable: 1
     494AXSelected: 0
     495AXMultiSelectable: 0
     496AXEnabled: 1
     497AXExpanded: 0
     498AXRequired: 0
     499AXChecked: 0
     500AXPlatformAttributes: toolkit:WebKitEfl
     501------------
     502AXRole: AXRowHeader
     503AXParent: AXTable: Example #1: Nested Stubs
     504AXChildren: 0
     505AXPosition: { 0.000000, 0.000000 }
     506AXSize: { 53.000000, 30.000000 }
     507AXTitle:
     508AXDescription:
     509AXValue: South
    57510AXFocusable: 0
    58511AXFocused: 0
     
    70523AXChildren: 0
    71524AXPosition: { 0.000000, 0.000000 }
    72 AXSize: { 120.000000, 30.000000 }
    73 AXTitle:
    74 AXDescription:
    75 AXValue: By Gender
     525AXSize: { 69.000000, 30.000000 }
     526AXTitle:
     527AXDescription:
     528AXValue: 3333
    76529AXFocusable: 0
    77530AXFocused: 0
     
    89542AXChildren: 0
    90543AXPosition: { 0.000000, 0.000000 }
    91 AXSize: { 120.000000, 30.000000 }
    92 AXTitle:
    93 AXDescription:
    94 AXValue: By Gender
    95 AXFocusable: 0
    96 AXFocused: 0
    97 AXSelectable: 1
    98 AXSelected: 0
    99 AXMultiSelectable: 0
    100 AXEnabled: 1
    101 AXExpanded: 0
    102 AXRequired: 0
    103 AXChecked: 0
    104 AXPlatformAttributes: toolkit:WebKitEfl
    105 ------------
    106 
    107 
    108 --------------------------
    109 
     544AXSize: { 52.000000, 30.000000 }
     545AXTitle:
     546AXDescription:
     547AXValue: 1111
     548AXFocusable: 0
     549AXFocused: 0
     550AXSelectable: 1
     551AXSelected: 0
     552AXMultiSelectable: 0
     553AXEnabled: 1
     554AXExpanded: 0
     555AXRequired: 0
     556AXChecked: 0
     557AXPlatformAttributes: toolkit:WebKitEfl
     558------------
    110559AXRole: AXCell
    111560AXParent: AXTable: Example #1: Nested Stubs
    112561AXChildren: 0
    113562AXPosition: { 0.000000, 0.000000 }
    114 AXSize: { 143.000000, 66.000000 }
    115 AXTitle:
    116 AXDescription:
    117 AXValue: Ruritanian<\n>Population <\n>Survey
    118 AXFocusable: 0
    119 AXFocused: 0
    120 AXSelectable: 1
    121 AXSelected: 0
    122 AXMultiSelectable: 0
    123 AXEnabled: 1
    124 AXExpanded: 0
    125 AXRequired: 0
    126 AXChecked: 0
    127 AXPlatformAttributes: toolkit:WebKitEfl
    128 ------------
    129 AXRole: AXCell
    130 AXParent: AXTable: Example #1: Nested Stubs
    131 AXChildren: 0
    132 AXPosition: { 0.000000, 0.000000 }
    133 AXSize: { 143.000000, 66.000000 }
    134 AXTitle:
    135 AXDescription:
    136 AXValue: Ruritanian<\n>Population <\n>Survey
    137 AXFocusable: 0
    138 AXFocused: 0
    139 AXSelectable: 1
    140 AXSelected: 0
    141 AXMultiSelectable: 0
    142 AXEnabled: 1
    143 AXExpanded: 0
    144 AXRequired: 0
    145 AXChecked: 0
    146 AXPlatformAttributes: toolkit:WebKitEfl
    147 ------------
    148 AXRole: AXCell
    149 AXParent: AXTable: Example #1: Nested Stubs
    150 AXChildren: 0
    151 AXPosition: { 0.000000, 0.000000 }
    152 AXSize: { 90.000000, 60.000000 }
    153 AXTitle:
    154 AXDescription:
    155 AXValue: All Regions
    156 AXFocusable: 0
    157 AXFocused: 0
    158 AXSelectable: 1
    159 AXSelected: 0
    160 AXMultiSelectable: 0
    161 AXEnabled: 1
    162 AXExpanded: 0
    163 AXRequired: 0
    164 AXChecked: 0
    165 AXPlatformAttributes: toolkit:WebKitEfl
    166 ------------
    167 AXRole: AXCell
    168 AXParent: AXTable: Example #1: Nested Stubs
    169 AXChildren: 0
    170 AXPosition: { 0.000000, 0.000000 }
    171 AXSize: { 90.000000, 60.000000 }
    172 AXTitle:
    173 AXDescription:
    174 AXValue: All Regions
    175 AXFocusable: 0
    176 AXFocused: 0
    177 AXSelectable: 1
    178 AXSelected: 0
    179 AXMultiSelectable: 0
    180 AXEnabled: 1
    181 AXExpanded: 0
    182 AXRequired: 0
    183 AXChecked: 0
    184 AXPlatformAttributes: toolkit:WebKitEfl
    185 ------------
    186 
    187 
    188 --------------------------
    189 
    190 
    191 
    192 --------------------------
    193 
    194 
    195 
    196 --------------------------
    197 
    198 AXRole: AXCell
    199 AXParent: AXTable: Example #1: Nested Stubs
    200 AXChildren: 0
    201 AXPosition: { 0.000000, 0.000000 }
    202 AXSize: { 143.000000, 66.000000 }
    203 AXTitle:
    204 AXDescription:
    205 AXValue: Ruritanian<\n>Population <\n>Survey
    206 AXFocusable: 0
    207 AXFocused: 0
    208 AXSelectable: 1
    209 AXSelected: 0
    210 AXMultiSelectable: 0
    211 AXEnabled: 1
    212 AXExpanded: 0
    213 AXRequired: 0
    214 AXChecked: 0
    215 AXPlatformAttributes: toolkit:WebKitEfl
    216 ------------
    217 AXRole: AXCell
    218 AXParent: AXTable: Example #1: Nested Stubs
    219 AXChildren: 0
    220 AXPosition: { 0.000000, 0.000000 }
    221 AXSize: { 143.000000, 66.000000 }
    222 AXTitle:
    223 AXDescription:
    224 AXValue: Ruritanian<\n>Population <\n>Survey
    225 AXFocusable: 0
    226 AXFocused: 0
    227 AXSelectable: 1
    228 AXSelected: 0
    229 AXMultiSelectable: 0
    230 AXEnabled: 1
    231 AXExpanded: 0
    232 AXRequired: 0
    233 AXChecked: 0
    234 AXPlatformAttributes: toolkit:WebKitEfl
    235 ------------
    236 AXRole: AXCell
    237 AXParent: AXTable: Example #1: Nested Stubs
    238 AXChildren: 0
    239 AXPosition: { 0.000000, 0.000000 }
    240 AXSize: { 69.000000, 66.000000 }
    241 AXTitle:
    242 AXDescription:
    243 AXValue: All<\n>Genders
    244 AXFocusable: 0
    245 AXFocused: 0
    246 AXSelectable: 1
    247 AXSelected: 0
    248 AXMultiSelectable: 0
    249 AXEnabled: 1
    250 AXExpanded: 0
    251 AXRequired: 0
    252 AXChecked: 0
    253 AXPlatformAttributes: toolkit:WebKitEfl
    254 ------------
    255 AXRole: AXCell
    256 AXParent: AXTable: Example #1: Nested Stubs
    257 AXChildren: 0
    258 AXPosition: { 0.000000, 0.000000 }
    259 AXSize: { 119.000000, 30.000000 }
    260 AXTitle:
    261 AXDescription:
    262 AXValue: By Gender
    263 AXFocusable: 0
    264 AXFocused: 0
    265 AXSelectable: 1
    266 AXSelected: 0
    267 AXMultiSelectable: 0
    268 AXEnabled: 1
    269 AXExpanded: 0
    270 AXRequired: 0
    271 AXChecked: 0
    272 AXPlatformAttributes: toolkit:WebKitEfl
    273 ------------
    274 AXRole: AXCell
    275 AXParent: AXTable: Example #1: Nested Stubs
    276 AXChildren: 0
    277 AXPosition: { 0.000000, 0.000000 }
    278 AXSize: { 119.000000, 30.000000 }
    279 AXTitle:
    280 AXDescription:
    281 AXValue: By Gender
    282 AXFocusable: 0
    283 AXFocused: 0
    284 AXSelectable: 1
    285 AXSelected: 0
    286 AXMultiSelectable: 0
    287 AXEnabled: 1
    288 AXExpanded: 0
    289 AXRequired: 0
    290 AXChecked: 0
    291 AXPlatformAttributes: toolkit:WebKitEfl
    292 ------------
    293 AXRole: AXCell
    294 AXParent: AXTable: Example #1: Nested Stubs
    295 AXChildren: 0
    296 AXPosition: { 0.000000, 0.000000 }
    297 AXSize: { 143.000000, 66.000000 }
    298 AXTitle:
    299 AXDescription:
    300 AXValue: Ruritanian<\n>Population <\n>Survey
    301 AXFocusable: 0
    302 AXFocused: 0
    303 AXSelectable: 1
    304 AXSelected: 0
    305 AXMultiSelectable: 0
    306 AXEnabled: 1
    307 AXExpanded: 0
    308 AXRequired: 0
    309 AXChecked: 0
    310 AXPlatformAttributes: toolkit:WebKitEfl
    311 ------------
    312 AXRole: AXCell
    313 AXParent: AXTable: Example #1: Nested Stubs
    314 AXChildren: 0
    315 AXPosition: { 0.000000, 0.000000 }
    316 AXSize: { 143.000000, 66.000000 }
    317 AXTitle:
    318 AXDescription:
    319 AXValue: Ruritanian<\n>Population <\n>Survey
    320 AXFocusable: 0
    321 AXFocused: 0
    322 AXSelectable: 1
    323 AXSelected: 0
    324 AXMultiSelectable: 0
    325 AXEnabled: 1
    326 AXExpanded: 0
    327 AXRequired: 0
    328 AXChecked: 0
    329 AXPlatformAttributes: toolkit:WebKitEfl
    330 ------------
    331 AXRole: AXCell
    332 AXParent: AXTable: Example #1: Nested Stubs
    333 AXChildren: 0
    334 AXPosition: { 0.000000, 0.000000 }
    335 AXSize: { 69.000000, 66.000000 }
    336 AXTitle:
    337 AXDescription:
    338 AXValue: All<\n>Genders
    339 AXFocusable: 0
    340 AXFocused: 0
    341 AXSelectable: 1
    342 AXSelected: 0
    343 AXMultiSelectable: 0
    344 AXEnabled: 1
    345 AXExpanded: 0
    346 AXRequired: 0
    347 AXChecked: 0
    348 AXPlatformAttributes: toolkit:WebKitEfl
    349 ------------
    350 AXRole: AXCell
    351 AXParent: AXTable: Example #1: Nested Stubs
    352 AXChildren: 0
    353 AXPosition: { 0.000000, 0.000000 }
    354 AXSize: { 52.000000, 36.000000 }
    355 AXTitle:
    356 AXDescription:
    357 AXValue: Males
    358 AXFocusable: 0
    359 AXFocused: 0
    360 AXSelectable: 1
    361 AXSelected: 0
    362 AXMultiSelectable: 0
    363 AXEnabled: 1
    364 AXExpanded: 0
    365 AXRequired: 0
    366 AXChecked: 0
    367 AXPlatformAttributes: toolkit:WebKitEfl
    368 ------------
    369 AXRole: AXCell
    370 AXParent: AXTable: Example #1: Nested Stubs
    371 AXChildren: 0
    372 AXPosition: { 0.000000, 0.000000 }
    373 AXSize: { 67.000000, 36.000000 }
    374 AXTitle:
    375 AXDescription:
    376 AXValue: Females
    377 AXFocusable: 0
    378 AXFocused: 0
    379 AXSelectable: 1
    380 AXSelected: 0
    381 AXMultiSelectable: 0
    382 AXEnabled: 1
    383 AXExpanded: 0
    384 AXRequired: 0
    385 AXChecked: 0
    386 AXPlatformAttributes: toolkit:WebKitEfl
    387 ------------
    388 AXRole: AXCell
    389 AXParent: AXTable: Example #1: Nested Stubs
    390 AXChildren: 0
    391 AXPosition: { 0.000000, 0.000000 }
    392 AXSize: { 90.000000, 60.000000 }
    393 AXTitle:
    394 AXDescription:
    395 AXValue: All Regions
    396 AXFocusable: 0
    397 AXFocused: 0
    398 AXSelectable: 1
    399 AXSelected: 0
    400 AXMultiSelectable: 0
    401 AXEnabled: 1
    402 AXExpanded: 0
    403 AXRequired: 0
    404 AXChecked: 0
    405 AXPlatformAttributes: toolkit:WebKitEfl
    406 ------------
    407 AXRole: AXCell
    408 AXParent: AXTable: Example #1: Nested Stubs
    409 AXChildren: 0
    410 AXPosition: { 0.000000, 0.000000 }
    411 AXSize: { 53.000000, 30.000000 }
    412 AXTitle:
    413 AXDescription:
    414 AXValue: North
    415 AXFocusable: 0
    416 AXFocused: 0
    417 AXSelectable: 1
    418 AXSelected: 0
    419 AXMultiSelectable: 0
    420 AXEnabled: 1
    421 AXExpanded: 0
    422 AXRequired: 0
    423 AXChecked: 0
    424 AXPlatformAttributes: toolkit:WebKitEfl
    425 ------------
    426 AXRole: AXCell
    427 AXParent: AXTable: Example #1: Nested Stubs
    428 AXChildren: 0
    429 AXPosition: { 0.000000, 0.000000 }
    430 AXSize: { 69.000000, 30.000000 }
    431 AXTitle:
    432 AXDescription:
    433 AXValue: 3333
    434 AXFocusable: 0
    435 AXFocused: 0
    436 AXSelectable: 1
    437 AXSelected: 0
    438 AXMultiSelectable: 0
    439 AXEnabled: 1
    440 AXExpanded: 0
    441 AXRequired: 0
    442 AXChecked: 0
    443 AXPlatformAttributes: toolkit:WebKitEfl
    444 ------------
    445 AXRole: AXCell
    446 AXParent: AXTable: Example #1: Nested Stubs
    447 AXChildren: 0
    448 AXPosition: { 0.000000, 0.000000 }
    449 AXSize: { 52.000000, 30.000000 }
    450 AXTitle:
    451 AXDescription:
    452 AXValue: 1111
    453 AXFocusable: 0
    454 AXFocused: 0
    455 AXSelectable: 1
    456 AXSelected: 0
    457 AXMultiSelectable: 0
    458 AXEnabled: 1
    459 AXExpanded: 0
    460 AXRequired: 0
    461 AXChecked: 0
    462 AXPlatformAttributes: toolkit:WebKitEfl
    463 ------------
    464 AXRole: AXCell
    465 AXParent: AXTable: Example #1: Nested Stubs
    466 AXChildren: 0
    467 AXPosition: { 0.000000, 0.000000 }
    468563AXSize: { 67.000000, 30.000000 }
    469564AXTitle:
     
    481576AXPlatformAttributes: toolkit:WebKitEfl
    482577------------
    483 AXRole: AXCell
    484 AXParent: AXTable: Example #1: Nested Stubs
    485 AXChildren: 0
    486 AXPosition: { 0.000000, 0.000000 }
    487 AXSize: { 90.000000, 60.000000 }
    488 AXTitle:
    489 AXDescription:
    490 AXValue: All Regions
    491 AXFocusable: 0
    492 AXFocused: 0
    493 AXSelectable: 1
    494 AXSelected: 0
    495 AXMultiSelectable: 0
    496 AXEnabled: 1
    497 AXExpanded: 0
    498 AXRequired: 0
    499 AXChecked: 0
    500 AXPlatformAttributes: toolkit:WebKitEfl
    501 ------------
    502 AXRole: AXCell
    503 AXParent: AXTable: Example #1: Nested Stubs
    504 AXChildren: 0
    505 AXPosition: { 0.000000, 0.000000 }
    506 AXSize: { 53.000000, 30.000000 }
    507 AXTitle:
    508 AXDescription:
    509 AXValue: South
    510 AXFocusable: 0
    511 AXFocused: 0
    512 AXSelectable: 1
    513 AXSelected: 0
    514 AXMultiSelectable: 0
    515 AXEnabled: 1
    516 AXExpanded: 0
    517 AXRequired: 0
    518 AXChecked: 0
    519 AXPlatformAttributes: toolkit:WebKitEfl
    520 ------------
    521 AXRole: AXCell
    522 AXParent: AXTable: Example #1: Nested Stubs
    523 AXChildren: 0
    524 AXPosition: { 0.000000, 0.000000 }
    525 AXSize: { 69.000000, 30.000000 }
    526 AXTitle:
    527 AXDescription:
    528 AXValue: 3333
    529 AXFocusable: 0
    530 AXFocused: 0
    531 AXSelectable: 1
    532 AXSelected: 0
    533 AXMultiSelectable: 0
    534 AXEnabled: 1
    535 AXExpanded: 0
    536 AXRequired: 0
    537 AXChecked: 0
    538 AXPlatformAttributes: toolkit:WebKitEfl
    539 ------------
    540 AXRole: AXCell
    541 AXParent: AXTable: Example #1: Nested Stubs
    542 AXChildren: 0
    543 AXPosition: { 0.000000, 0.000000 }
    544 AXSize: { 52.000000, 30.000000 }
    545 AXTitle:
    546 AXDescription:
    547 AXValue: 1111
    548 AXFocusable: 0
    549 AXFocused: 0
    550 AXSelectable: 1
    551 AXSelected: 0
    552 AXMultiSelectable: 0
    553 AXEnabled: 1
    554 AXExpanded: 0
    555 AXRequired: 0
    556 AXChecked: 0
    557 AXPlatformAttributes: toolkit:WebKitEfl
    558 ------------
    559 AXRole: AXCell
    560 AXParent: AXTable: Example #1: Nested Stubs
    561 AXChildren: 0
    562 AXPosition: { 0.000000, 0.000000 }
    563 AXSize: { 67.000000, 30.000000 }
    564 AXTitle:
    565 AXDescription:
    566 AXValue: 2222
    567 AXFocusable: 0
    568 AXFocused: 0
    569 AXSelectable: 1
    570 AXSelected: 0
    571 AXMultiSelectable: 0
    572 AXEnabled: 1
    573 AXExpanded: 0
    574 AXRequired: 0
    575 AXChecked: 0
    576 AXPlatformAttributes: toolkit:WebKitEfl
    577 ------------
    578 
    579 
    580 --------------------------
    581 
    582 
    583 
    584 --------------------------
    585 
    586 
     578
     579
     580--------------------------
     581
     582
     583
     584--------------------------
     585
     586
  • trunk/LayoutTests/platform/efl/accessibility/table-cells-expected.txt

    r170290 r174567  
    1111------------------------
    1212[0,0]
    13 AXRole: AXCell
     13AXRole: AXRowHeader
    1414AXParent: AXTable: Example #1: Nested Stubs
    1515AXChildren: 0
     
    3131------------------------
    3232[3,1]
    33 AXRole: AXCell
     33AXRole: AXRowHeader
    3434AXParent: AXTable: Example #1: Nested Stubs
    3535AXChildren: 0
     
    5151------------------------
    5252[1,1]
    53 AXRole: AXCell
     53AXRole: AXRowHeader
    5454AXParent: AXTable: Example #1: Nested Stubs
    5555AXChildren: 0
  • trunk/LayoutTests/platform/efl/accessibility/table-detection-expected.txt

    r170290 r174567  
    458458This should be a table even though it uses table-row-group for it's display type.
    459459
    460 AXRole: AXGroup
    461 AXParent: AXWebArea
    462 AXChildren: 0
    463 AXPosition: { 0.000000, 0.000000 }
    464 AXSize: { 35.000000, 21.000000 }
    465 AXTitle:
    466 AXDescription:
    467 AXValue: head
     460AXRole: AXTable
     461AXParent: AXWebArea
     462AXChildren: 4
     463AXPosition: { 0.000000, 0.000000 }
     464AXSize: { 84.000000, 47.000000 }
     465AXTitle:
     466AXDescription:
    468467AXFocusable: 0
    469468AXFocused: 0
  • trunk/LayoutTests/platform/gtk/accessibility/table-attributes-expected.txt

    r158847 r174567  
    99--------------------------
    1010
    11 AXRole: AXCell
     11AXRole: AXRowHeader
    1212AXParent: AXTable: Example #1: Nested Stubs
    1313AXChildren: 0
     
    2828AXPlatformAttributes: toolkit:WebKitGtk
    2929------------
    30 AXRole: AXCell
     30AXRole: AXRowHeader
    3131AXParent: AXTable: Example #1: Nested Stubs
    3232AXChildren: 0
     
    4747AXPlatformAttributes: toolkit:WebKitGtk
    4848------------
    49 AXRole: AXCell
     49AXRole: AXRowHeader
    5050AXParent: AXTable: Example #1: Nested Stubs
    5151AXChildren: 0
     
    6666AXPlatformAttributes: toolkit:WebKitGtk
    6767------------
    68 AXRole: AXCell
     68AXRole: AXRowHeader
    6969AXParent: AXTable: Example #1: Nested Stubs
    7070AXChildren: 0
     
    8585AXPlatformAttributes: toolkit:WebKitGtk
    8686------------
    87 AXRole: AXCell
     87AXRole: AXRowHeader
    8888AXParent: AXTable: Example #1: Nested Stubs
    8989AXChildren: 0
     
    108108--------------------------
    109109
    110 AXRole: AXCell
     110AXRole: AXRowHeader
    111111AXParent: AXTable: Example #1: Nested Stubs
    112112AXChildren: 0
     
    127127AXPlatformAttributes: toolkit:WebKitGtk
    128128------------
    129 AXRole: AXCell
     129AXRole: AXRowHeader
    130130AXParent: AXTable: Example #1: Nested Stubs
    131131AXChildren: 0
     
    146146AXPlatformAttributes: toolkit:WebKitGtk
    147147------------
    148 AXRole: AXCell
     148AXRole: AXRowHeader
    149149AXParent: AXTable: Example #1: Nested Stubs
    150150AXChildren: 0
     
    165165AXPlatformAttributes: toolkit:WebKitGtk
    166166------------
    167 AXRole: AXCell
     167AXRole: AXRowHeader
    168168AXParent: AXTable: Example #1: Nested Stubs
    169169AXChildren: 0
     
    196196--------------------------
    197197
    198 AXRole: AXCell
     198AXRole: AXRowHeader
    199199AXParent: AXTable: Example #1: Nested Stubs
    200200AXChildren: 0
     
    215215AXPlatformAttributes: toolkit:WebKitGtk
    216216------------
    217 AXRole: AXCell
     217AXRole: AXRowHeader
    218218AXParent: AXTable: Example #1: Nested Stubs
    219219AXChildren: 0
     
    234234AXPlatformAttributes: toolkit:WebKitGtk
    235235------------
    236 AXRole: AXCell
     236AXRole: AXRowHeader
    237237AXParent: AXTable: Example #1: Nested Stubs
    238238AXChildren: 0
     
    253253AXPlatformAttributes: toolkit:WebKitGtk
    254254------------
    255 AXRole: AXCell
     255AXRole: AXRowHeader
    256256AXParent: AXTable: Example #1: Nested Stubs
    257257AXChildren: 0
     
    272272AXPlatformAttributes: toolkit:WebKitGtk
    273273------------
    274 AXRole: AXCell
     274AXRole: AXRowHeader
    275275AXParent: AXTable: Example #1: Nested Stubs
    276276AXChildren: 0
     
    291291AXPlatformAttributes: toolkit:WebKitGtk
    292292------------
    293 AXRole: AXCell
     293AXRole: AXRowHeader
    294294AXParent: AXTable: Example #1: Nested Stubs
    295295AXChildren: 0
     
    310310AXPlatformAttributes: toolkit:WebKitGtk
    311311------------
    312 AXRole: AXCell
     312AXRole: AXRowHeader
    313313AXParent: AXTable: Example #1: Nested Stubs
    314314AXChildren: 0
     
    329329AXPlatformAttributes: toolkit:WebKitGtk
    330330------------
    331 AXRole: AXCell
     331AXRole: AXRowHeader
    332332AXParent: AXTable: Example #1: Nested Stubs
    333333AXChildren: 0
     
    348348AXPlatformAttributes: toolkit:WebKitGtk
    349349------------
    350 AXRole: AXCell
     350AXRole: AXRowHeader
    351351AXParent: AXTable: Example #1: Nested Stubs
    352352AXChildren: 0
     
    367367AXPlatformAttributes: toolkit:WebKitGtk
    368368------------
    369 AXRole: AXCell
     369AXRole: AXRowHeader
    370370AXParent: AXTable: Example #1: Nested Stubs
    371371AXChildren: 0
     
    386386AXPlatformAttributes: toolkit:WebKitGtk
    387387------------
    388 AXRole: AXCell
     388AXRole: AXRowHeader
    389389AXParent: AXTable: Example #1: Nested Stubs
    390390AXChildren: 0
     
    405405AXPlatformAttributes: toolkit:WebKitGtk
    406406------------
    407 AXRole: AXCell
     407AXRole: AXRowHeader
    408408AXParent: AXTable: Example #1: Nested Stubs
    409409AXChildren: 0
     
    481481AXPlatformAttributes: toolkit:WebKitGtk
    482482------------
    483 AXRole: AXCell
     483AXRole: AXRowHeader
    484484AXParent: AXTable: Example #1: Nested Stubs
    485485AXChildren: 0
     
    500500AXPlatformAttributes: toolkit:WebKitGtk
    501501------------
    502 AXRole: AXCell
     502AXRole: AXRowHeader
    503503AXParent: AXTable: Example #1: Nested Stubs
    504504AXChildren: 0
  • trunk/LayoutTests/platform/gtk/accessibility/table-cells-expected.txt

    r157095 r174567  
    1111------------------------
    1212[0,0]
    13 AXRole: AXCell
     13AXRole: AXRowHeader
    1414AXParent: AXTable: Example #1: Nested Stubs
    1515AXChildren: 0
     
    3131------------------------
    3232[3,1]
    33 AXRole: AXCell
     33AXRole: AXRowHeader
    3434AXParent: AXTable: Example #1: Nested Stubs
    3535AXChildren: 0
     
    5151------------------------
    5252[1,1]
    53 AXRole: AXCell
     53AXRole: AXRowHeader
    5454AXParent: AXTable: Example #1: Nested Stubs
    5555AXChildren: 0
  • trunk/LayoutTests/platform/gtk/accessibility/table-sections-expected.txt

    r158847 r174567  
    1818--------------------------
    1919
    20 AXRole: AXCell
     20AXRole: AXColumnHeader
    2121AXParent: AXTable: Example #1: Nested Stubs
    2222AXChildren: 0
     
    2828AXFocusable: 0
    2929AXFocused: 0
    30 AXSelectable: 1
    31 AXSelected: 0
    32 AXMultiSelectable: 0
    33 AXEnabled: 1
    34 AXExpanded: 0
    35 AXRequired: 0
    36 AXChecked: 0
    37 AXPlatformAttributes: toolkit:WebKitGtk
    38 ------------
    39 AXRole: AXCell
     30AXSelectable: 0
     31AXSelected: 0
     32AXMultiSelectable: 0
     33AXEnabled: 1
     34AXExpanded: 0
     35AXRequired: 0
     36AXChecked: 0
     37AXPlatformAttributes: toolkit:WebKitGtk
     38------------
     39AXRole: AXColumnHeader
    4040AXParent: AXTable: Example #1: Nested Stubs
    4141AXChildren: 0
     
    4747AXFocusable: 0
    4848AXFocused: 0
    49 AXSelectable: 1
     49AXSelectable: 0
    5050AXSelected: 0
    5151AXMultiSelectable: 0
     
    7979--------------------------
    8080
    81 AXRole: AXCell
     81AXRole: AXColumnHeader
    8282AXParent: AXTable: Example #1: Nested Stubs
    8383AXChildren: 0
     
    8989AXFocusable: 0
    9090AXFocused: 0
    91 AXSelectable: 1
    92 AXSelected: 0
    93 AXMultiSelectable: 0
    94 AXEnabled: 1
    95 AXExpanded: 0
    96 AXRequired: 0
    97 AXChecked: 0
    98 AXPlatformAttributes: toolkit:WebKitGtk
    99 ------------
    100 AXRole: AXCell
     91AXSelectable: 0
     92AXSelected: 0
     93AXMultiSelectable: 0
     94AXEnabled: 1
     95AXExpanded: 0
     96AXRequired: 0
     97AXChecked: 0
     98AXPlatformAttributes: toolkit:WebKitGtk
     99------------
     100AXRole: AXRowHeader
    101101AXParent: AXTable: Example #1: Nested Stubs
    102102AXChildren: 0
     
    117117AXPlatformAttributes: toolkit:WebKitGtk
    118118------------
    119 AXRole: AXCell
     119AXRole: AXRowHeader
    120120AXParent: AXTable: Example #1: Nested Stubs
    121121AXChildren: 0
     
    164164--------------------------
    165165
    166 AXRole: AXCell
     166AXRole: AXColumnHeader
    167167AXParent: AXTable: Example #1: Nested Stubs
    168168AXChildren: 0
     
    174174AXFocusable: 0
    175175AXFocused: 0
    176 AXSelectable: 1
    177 AXSelected: 0
    178 AXMultiSelectable: 0
    179 AXEnabled: 1
    180 AXExpanded: 0
    181 AXRequired: 0
    182 AXChecked: 0
    183 AXPlatformAttributes: toolkit:WebKitGtk
    184 ------------
    185 AXRole: AXCell
     176AXSelectable: 0
     177AXSelected: 0
     178AXMultiSelectable: 0
     179AXEnabled: 1
     180AXExpanded: 0
     181AXRequired: 0
     182AXChecked: 0
     183AXPlatformAttributes: toolkit:WebKitGtk
     184------------
     185AXRole: AXColumnHeader
    186186AXParent: AXTable: Example #1: Nested Stubs
    187187AXChildren: 0
     
    193193AXFocusable: 0
    194194AXFocused: 0
    195 AXSelectable: 1
     195AXSelectable: 0
    196196AXSelected: 0
    197197AXMultiSelectable: 0
     
    221221AXPlatformAttributes: toolkit:WebKitGtk
    222222------------
    223 AXRole: AXCell
     223AXRole: AXRowHeader
    224224AXParent: AXTable: Example #1: Nested Stubs
    225225AXChildren: 0
     
    278278AXPlatformAttributes: toolkit:WebKitGtk
    279279------------
    280 AXRole: AXCell
     280AXRole: AXRowHeader
    281281AXParent: AXTable: Example #1: Nested Stubs
    282282AXChildren: 0
     
    404404--------------------------
    405405
    406 AXRole: AXCell
     406AXRole: AXColumnHeader
    407407AXParent: AXTable: Example #1: Nested Stubs
    408408AXChildren: 0
     
    414414AXFocusable: 0
    415415AXFocused: 0
    416 AXSelectable: 1
    417 AXSelected: 0
    418 AXMultiSelectable: 0
    419 AXEnabled: 1
    420 AXExpanded: 0
    421 AXRequired: 0
    422 AXChecked: 0
    423 AXPlatformAttributes: toolkit:WebKitGtk
    424 ------------
    425 AXRole: AXCell
     416AXSelectable: 0
     417AXSelected: 0
     418AXMultiSelectable: 0
     419AXEnabled: 1
     420AXExpanded: 0
     421AXRequired: 0
     422AXChecked: 0
     423AXPlatformAttributes: toolkit:WebKitGtk
     424------------
     425AXRole: AXColumnHeader
    426426AXParent: AXTable: Example #1: Nested Stubs
    427427AXChildren: 0
     
    433433AXFocusable: 0
    434434AXFocused: 0
    435 AXSelectable: 1
     435AXSelectable: 0
    436436AXSelected: 0
    437437AXMultiSelectable: 0
     
    465465--------------------------
    466466
    467 AXRole: AXCell
     467AXRole: AXColumnHeader
    468468AXParent: AXTable: Example #1: Nested Stubs
    469469AXChildren: 0
     
    475475AXFocusable: 0
    476476AXFocused: 0
    477 AXSelectable: 1
    478 AXSelected: 0
    479 AXMultiSelectable: 0
    480 AXEnabled: 1
    481 AXExpanded: 0
    482 AXRequired: 0
    483 AXChecked: 0
    484 AXPlatformAttributes: toolkit:WebKitGtk
    485 ------------
    486 AXRole: AXCell
     477AXSelectable: 0
     478AXSelected: 0
     479AXMultiSelectable: 0
     480AXEnabled: 1
     481AXExpanded: 0
     482AXRequired: 0
     483AXChecked: 0
     484AXPlatformAttributes: toolkit:WebKitGtk
     485------------
     486AXRole: AXRowHeader
    487487AXParent: AXTable: Example #1: Nested Stubs
    488488AXChildren: 0
     
    503503AXPlatformAttributes: toolkit:WebKitGtk
    504504------------
    505 AXRole: AXCell
     505AXRole: AXRowHeader
    506506AXParent: AXTable: Example #1: Nested Stubs
    507507AXChildren: 0
     
    550550--------------------------
    551551
    552 AXRole: AXCell
     552AXRole: AXColumnHeader
    553553AXParent: AXTable: Example #1: Nested Stubs
    554554AXChildren: 0
     
    560560AXFocusable: 0
    561561AXFocused: 0
    562 AXSelectable: 1
    563 AXSelected: 0
    564 AXMultiSelectable: 0
    565 AXEnabled: 1
    566 AXExpanded: 0
    567 AXRequired: 0
    568 AXChecked: 0
    569 AXPlatformAttributes: toolkit:WebKitGtk
    570 ------------
    571 AXRole: AXCell
     562AXSelectable: 0
     563AXSelected: 0
     564AXMultiSelectable: 0
     565AXEnabled: 1
     566AXExpanded: 0
     567AXRequired: 0
     568AXChecked: 0
     569AXPlatformAttributes: toolkit:WebKitGtk
     570------------
     571AXRole: AXColumnHeader
    572572AXParent: AXTable: Example #1: Nested Stubs
    573573AXChildren: 0
     
    579579AXFocusable: 0
    580580AXFocused: 0
    581 AXSelectable: 1
     581AXSelectable: 0
    582582AXSelected: 0
    583583AXMultiSelectable: 0
     
    607607AXPlatformAttributes: toolkit:WebKitGtk
    608608------------
    609 AXRole: AXCell
     609AXRole: AXRowHeader
    610610AXParent: AXTable: Example #1: Nested Stubs
    611611AXChildren: 0
     
    664664AXPlatformAttributes: toolkit:WebKitGtk
    665665------------
    666 AXRole: AXCell
     666AXRole: AXRowHeader
    667667AXParent: AXTable: Example #1: Nested Stubs
    668668AXChildren: 0
  • trunk/Source/WebCore/ChangeLog

    r174563 r174567  
     12014-10-10  Andrzej Badowski  <a.badowski@samsung.com>
     2
     3        [ATK] Changing the mapping of ARIA rowheader and columnheader into respective ATK roles.
     4        https://bugs.webkit.org/show_bug.cgi?id=136150
     5
     6        Reviewed by Chris Fleizach.
     7
     8        Expose ColumnHeaderRole and RowHeaderRole objects into ATK.
     9
     10        Test: accessibility/table-roles-hierarchy.html
     11
     12        * accessibility/AccessibilityRenderObject.cpp:
     13        (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
     14        Platforms based on ATK: added distinction of roles for the <th> elements.
     15        * accessibility/AccessibilityTableCell.cpp:
     16        (WebCore::AccessibilityTableCell::determineAccessibilityRole):
     17        Platforms based on ATK: the return value is determined in the ancestor.
     18        * accessibility/atk/AccessibilityObjectAtk.cpp:
     19        (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
     20        In addition to CellRole also included ColumnHeaderRole and RowHeaderRole.
     21        * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
     22        (atkRole):
     23        Changing the mapping of ARIA rowheader and columnheader into respective ATK roles.
     24        (getInterfaceMaskFromObject):
     25        In addition to CellRole also included ColumnHeaderRole and RowHeaderRole.
     26
    1272014-10-09  Carlos Garcia Campos  <cgarcia@igalia.com>
    228
  • trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp

    r174542 r174567  
    25522552        return AnnotationRole;
    25532553
    2554 #if PLATFORM(GTK)
     2554#if PLATFORM(GTK) || PLATFORM(EFL)
    25552555    // Gtk ATs expect all tables, data and layout, to be exposed as tables.
    2556     if (node && (node->hasTagName(tdTag) || node->hasTagName(thTag)))
     2556    if (node && (node->hasTagName(tdTag)))
    25572557        return CellRole;
     2558
     2559    if (node && (node->hasTagName(thTag))) {
     2560        for (Node* parentNode = node->parentNode(); parentNode; parentNode = parentNode->parentNode()) {
     2561            if (parentNode->hasTagName(theadTag))
     2562                return ColumnHeaderRole;
     2563            if (parentNode->hasTagName(tbodyTag) || parentNode->hasTagName(tfootTag))
     2564                return RowHeaderRole;
     2565            if (parentNode->hasTagName(tableTag))
     2566                return CellRole;
     2567        }
     2568        return CellRole;
     2569    }
    25582570
    25592571    if (node && node->hasTagName(trTag))
  • trunk/Source/WebCore/accessibility/AccessibilityTableCell.cpp

    r174345 r174567  
    109109    // to determine if it's a column header.
    110110    AccessibilityRole defaultRole = AccessibilityRenderObject::determineAccessibilityRole();
     111#if !PLATFORM(EFL) && !PLATFORM(GTK)
    111112    if (!isTableCell())
    112113        return defaultRole;
    113114   
    114115    return CellRole;
     116#endif
     117    return defaultRole;
    115118}
    116119   
  • trunk/Source/WebCore/accessibility/atk/AccessibilityObjectAtk.cpp

    r174403 r174567  
    5757
    5858    // Include all tables, even layout tables. The AT can decide what to do with each.
    59     if (role == CellRole || role == TableRole)
     59    if (role == CellRole || role == TableRole || role == ColumnHeaderRole || role == RowHeaderRole)
    6060        return IncludeObject;
    6161
  • trunk/Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp

    r174225 r174567  
    663663    case TabPanelRole:
    664664        return ATK_ROLE_PANEL;
    665     case RowHeaderRole: // Row headers are cells after all.
    666     case ColumnHeaderRole: // Column headers are cells after all.
     665    case RowHeaderRole:
     666        return ATK_ROLE_ROW_HEADER;
     667    case ColumnHeaderRole:
     668        return ATK_ROLE_COLUMN_HEADER;
    667669    case CellRole:
    668670        return coreObject->inheritsPresentationalRole() ? ATK_ROLE_SECTION : ATK_ROLE_TABLE_CELL;
     
    11761178
    11771179#if ATK_CHECK_VERSION(2,11,90)
    1178     if (role == CellRole)
     1180    if (role == CellRole || role == ColumnHeaderRole || role == RowHeaderRole)
    11791181        interfaceMask |= 1 << WAITableCell;
    11801182#endif
Note: See TracChangeset for help on using the changeset viewer.