<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>98348</bug_id>
          
          <creation_ts>2012-10-04 00:18:00 -0700</creation_ts>
          <short_desc>[GTK] Reevaluate the platform-specific nature of some accessibility tests</short_desc>
          <delta_ts>2017-03-11 11:03:19 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk, LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>118968</dependson>
    
    <dependson>141074</dependson>
    
    <dependson>118966</dependson>
    
    <dependson>118967</dependson>
    
    <dependson>118969</dependson>
    
    <dependson>123893</dependson>
    
    <dependson>155353</dependson>
          <blocked>98347</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Zan Dobersek">zan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>clopez</cc>
    
    <cc>fred.wang</cc>
    
    <cc>jdiggs</cc>
    
    <cc>mario</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>734422</commentid>
    <comment_count>0</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2012-10-04 00:18:00 -0700</bug_when>
    <thetext>The following can currently be found in TestExpectations file:

# Accessibility tests that should never be run for GTK due to be
# written in a platform-specific way. They should either be moved to
# the right platform or re-written in a more platform-agnostic way.
accessibility/aria-list-and-listitem.html [ WontFix ]
accessibility/aria-option-role.html [ WontFix ]
accessibility/internal-link-anchors2.html [ WontFix ]
accessibility/radio-button-group-members.html [ WontFix ]
accessibility/table-attributes.html [ WontFix ]
accessibility/table-detection.html [ WontFix ]
accessibility/table-one-cell.html [ WontFix ]
accessibility/table-sections.html [ WontFix ]
accessibility/table-with-aria-role.html [ WontFix ]
accessibility/table-with-rules.html [ WontFix ]
accessibility/plugin.html [ WontFix ]

I think we should reevaluate this classification, see if any test could be rewritten in platform-independent way and otherwise either remove these tests under proper platform-specific directories or just keep these expectations as they are.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>910645</commentid>
    <comment_count>1</comment_count>
    <who name="Mario Sanchez Prada">mario</who>
    <bug_when>2013-07-22 06:08:06 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; The following can currently be found in TestExpectations file:
&gt; 
&gt; # Accessibility tests that should never be run for GTK due to be
&gt; # written in a platform-specific way. They should either be moved to
&gt; # the right platform or re-written in a more platform-agnostic way.
&gt; accessibility/internal-link-anchors2.html [ WontFix ]
&gt; accessibility/radio-button-group-members.html [ WontFix ]
&gt; accessibility/table-attributes.html [ WontFix ]
&gt; accessibility/table-detection.html [ WontFix ]
&gt; accessibility/table-one-cell.html [ WontFix ]
&gt; accessibility/table-sections.html [ WontFix ]
&gt; accessibility/table-with-aria-role.html [ WontFix ]
&gt; accessibility/table-with-rules.html [ WontFix ]
&gt; accessibility/plugin.html [ WontFix ]
&gt; 
&gt; I think we should reevaluate this classification, see if any test could be 
&gt; rewritten in platform-independent way and otherwise either remove these tests 
&gt; under proper platform-specific directories or just keep these expectations as 
&gt; they are.

I agree. Actually, all those tests[*] could be fixed by implementing the corresponding attributesOf*() function in AccessibilityUIElement() for DRT/WKTR, since those functions are currently unimplemented.

More specifically, this is what needs to be implemented:

 * table-attributes.html, table-sections.html:
    - attributesOfColumnHeaders()
    - attributesOfRowHeaders()
    - attributesOfColumns()
    - attributesOfRows()
    - attributesOfHeader()
    - attributesOfVisibleCell()

 * plugin.html, table-with-aria-role.html:
    - attributesOfChildren()

 * internal-link-anchors2.html, radio-button-group-members.html:
    - attributesOfLinkedUIElements

 * table-detection.html, table-one-cell.html, table-with-rules.html:
    - allAtributes()

Additionally, implementing all those functions (specially allAttributes() and attributesOfChildren()) will help us run properly other tests as well, so it looks indeed like something interesting to fix.

I&apos;ll be filing bugs for all of them soon, and hopefully working on them too.

[*] With the exception of aria-list-and-listitem.html and accessibility/aria-option-role.html, which are no longer in the TestExpectations file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>971607</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2014-01-24 08:21:11 -0800</bug_when>
    <thetext>accessibility/internal-link-anchors2.html is passing correctly now on wk1/wk2 gtk+. I checked the test and I don&apos;t see anything platform specific. I will be removing it from the list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1173641</commentid>
    <comment_count>3</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2016-03-11 01:20:16 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; accessibility/internal-link-anchors2.html is passing correctly now on
&gt; wk1/wk2 gtk+. I checked the test and I don&apos;t see anything platform specific.
&gt; I will be removing it from the list.

This one is still marked [ WontFix Missing ] so it always generates a text expectation when you run accessibility tests.

@Joanie: can you check whether the result is correct? If so, I think we can just add the missing expectation file and remove this test from TestExpectation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1173667</commentid>
    <comment_count>4</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2016-03-11 02:07:26 -0800</bug_when>
    <thetext>I added accessibility/content-editable-as-textarea.html to that list.

http://trac.webkit.org/changeset/198003</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1174469</commentid>
    <comment_count>5</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2016-03-14 08:31:02 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/198130</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>