<?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>83476</bug_id>
          
          <creation_ts>2012-04-09 09:20:56 -0700</creation_ts>
          <short_desc>[Gtk] Bogus markup leads to bogus accessible hierarchy</short_desc>
          <delta_ts>2017-03-11 10:46:41 -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>Accessibility</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>25531</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Joanmarie Diggs">jdiggs</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mario</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>598322</commentid>
    <comment_count>0</comment_count>
      <attachid>136233</attachid>
    <who name="Joanmarie Diggs">jdiggs</who>
    <bug_when>2012-04-09 09:20:56 -0700</bug_when>
    <thetext>Created attachment 136233
test case

Steps to reproduce:

1. Load the attached, purposefully bogus test case
2. View the accessible hierarchy in Accerciser

For the list, I see:

-&gt; list
   -&gt; list item (this is for item 1)
   -&gt; list item (this is for item 2)
      -&gt; link
   -&gt; panel (this is bogus)
      -&gt; link
   -&gt; list item (this is for item 3)
      -&gt; link (not sure what this corresponds to)
      -&gt; link (this is for the image link, but name is embedded obj char)

The miracle that produced this result seems to be the inclusion of an &apos;alt&apos; property for the image without it containing anything.

Notes:
1. No I do not know why anyone would do such a thing.
2. Yes, this dangling alt was seen in the wild.
3. Yes, really. :-/
4. If it would be easy and not too hacky to include some sanity checks for nonsense like this, it would be awesome.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>136233</attachid>
            <date>2012-04-09 09:20:56 -0700</date>
            <delta_ts>2012-04-09 09:20:56 -0700</delta_ts>
            <desc>test case</desc>
            <filename>image-test.html</filename>
            <type>text/html</type>
            <size>222</size>
            <attacher name="Joanmarie Diggs">jdiggs</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPjwvaGVhZD4KPGJvZHk+Cjx1bD4KPGxpPkl0ZW0gMTwvbGk+CjxsaT48YSBo
cmVmPSdmb28nPkl0ZW0gMjwvbGk+CjxsaT48YSBocmVmPSdiYXInPjxpbWcgc3JjPSdodHRwOi8v
bGl2ZS5nbm9tZS5vcmcvT3JjYT9hY3Rpb249QXR0YWNoRmlsZSZkbz1nZXQmdGFyZ2V0PW9yY2Ey
LXNtLmpwZycgYWx0PjwvYT5JdGVtIDM8L2xpPgo8L3VsPgo8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>