Bug 83476 - [Gtk] Bogus markup leads to bogus accessible hierarchy
Summary: [Gtk] Bogus markup leads to bogus accessible hierarchy
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 25531
  Show dependency treegraph
 
Reported: 2012-04-09 09:20 PDT by Joanmarie Diggs (irc: joanie)
Modified: 2017-03-11 10:46 PST (History)
2 users (show)

See Also:


Attachments
test case (222 bytes, text/html)
2012-04-09 09:20 PDT, Joanmarie Diggs (irc: joanie)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joanmarie Diggs (irc: joanie) 2012-04-09 09:20:56 PDT
Created attachment 136233 [details]
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:

-> list
   -> list item (this is for item 1)
   -> list item (this is for item 2)
      -> link
   -> panel (this is bogus)
      -> link
   -> list item (this is for item 3)
      -> link (not sure what this corresponds to)
      -> 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 'alt' 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.