[webkit-dev] Changing two unit tests: 'alt' as accessible name instead of description

Mario Sanchez Prada msanchez at igalia.com
Thu Jul 23 08:34:51 PDT 2009


Hi,

As the result of working in bug 25524 (see [1] for more details), we
have reached the conclusion (and not only to fix that bug) that perhaps
it would be good to change how the 'alt' attribute is exposed to ATs,
switching from being the accessible description to be the accessible
name. This would allow to always use (for every HTML element) the HTML
core attribute 'title' for the accessible description, which is what the
already proposed patch implements so far.

In other works, current patch proposal is as follows:

  * Always expose 'alt' in images as the accesible name.
  * Always expose 'title', for every HTML item, as the accessible
    description.

Problem is that this change, which affects to all the platforms (and not
only to GTK, despite of the bug name), would also mean to change two
unit tests which are failing right now:

 - accessibility/img-aria-button-alt-tag.html
 - accessibility/input-image-alt.html

Those tests are failing because they *always* expect the 'alt' attribute
for images to be exposed as the accessible description instead of the
name, and that would need to be changed if this patch got accepted.

Thus, as this change would affect to all the platforms and would mean to
change two regression tests, we'd love to hear more opinions from
someone else on this topic before making a final decision.

So... any thoughts?

Thanks,
Mario

[1] https://bugs.webkit.org/show_bug.cgi?id=25524


More information about the webkit-dev mailing list